Paladox has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/271481

Change subject: Fix jslint errors
......................................................................

Fix jslint errors

Bug: T63626
Change-Id: I39a5c449e32eff3f6783e93cc75b71018763b31a
---
M resources/SecurePoll.js
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SecurePoll 
refs/changes/81/271481/1

diff --git a/resources/SecurePoll.js b/resources/SecurePoll.js
index ca7ad7d..ec9e606 100644
--- a/resources/SecurePoll.js
+++ b/resources/SecurePoll.js
@@ -1,7 +1,9 @@
+/*jshint -W083 */
+
 function securepoll_strike_popup(e, action, id) {
        var pop = document.getElementById('securepoll-popup');
 
-       var e = window.event || e;
+       e = window.event || e;
        if(!e) return;
        var target = e.target || e.srcElement;
        if(!target) return;
@@ -112,7 +114,7 @@
        }
        popupButton.onclick = function ( event ) {
                securepoll_strike_popup( event, action == 'strike' ? 'unstrike' 
: 'strike', voteId );
-       }
+       };
 }
 
 function securepoll_ballot_setup() {

-- 
To view, visit https://gerrit.wikimedia.org/r/271481
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I39a5c449e32eff3f6783e93cc75b71018763b31a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SecurePoll
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to