mirror of
https://bitbucket.org/vertlach/iusethis.git
synced 2024-06-17 07:30:50 +03:00
Use wgExtensionAssetsPath + mw.config.get() in the JS file
Change-Id: Ibeaa774ebd569e2883ba9e50c6a8140aadf82c4c
This commit is contained in:
parent
7678ee7c4b
commit
727c6d790b
4
Vote.js
4
Vote.js
|
@ -4,7 +4,7 @@
|
|||
* @file
|
||||
* @ingroup Extensions
|
||||
* @author Jack Phoenix <jack@countervandalism.net>
|
||||
* @date 29 August 2012
|
||||
* @date 21 September 2014
|
||||
*/
|
||||
var VoteNY = {
|
||||
MaxRating: 5,
|
||||
|
@ -12,7 +12,7 @@ var VoteNY = {
|
|||
voted_new: [],
|
||||
id: 0,
|
||||
last_id: 0,
|
||||
imagePath: wgScriptPath + '/extensions/VoteNY/images/',
|
||||
imagePath: mw.config.get( 'wgExtensionAssetsPath' ) + '/VoteNY/images/',
|
||||
|
||||
/**
|
||||
* Called when voting through the green square voting box
|
||||
|
|
Loading…
Reference in a new issue