Phuedx has uploaded a new change for review.
https://gerrit.wikimedia.org/r/171871
Change subject: claim.correct must be boolean for WikiGrok version A
......................................................................
claim.correct must be boolean for WikiGrok version A
Change-Id: I0c7656fdcc78649a55a4861c440be059b7ca3541
---
M javascripts/modules/wikigrok/WikiGrokDialog.js
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/71/171871/1
diff --git a/javascripts/modules/wikigrok/WikiGrokDialog.js
b/javascripts/modules/wikigrok/WikiGrokDialog.js
index 27e23a4..3991c8c 100644
--- a/javascripts/modules/wikigrok/WikiGrokDialog.js
+++ b/javascripts/modules/wikigrok/WikiGrokDialog.js
@@ -340,7 +340,7 @@
} else if ( options.beginQuestions ) {
this.$( '.wg-buttons .yes' ).on( 'click',
function () {
self.log( 'widget-click-submit' );
- options.claimIsCorrect = 1;
+ options.claimIsCorrect = true;
self.recordClaim( options );
} );
this.$( '.wg-buttons .not-sure' ).on( 'click',
function () {
@@ -349,7 +349,7 @@
} );
this.$( '.wg-buttons .no' ).on( 'click',
function () {
self.log( 'widget-click-submit' );
- options.claimIsCorrect = 0;
+ options.claimIsCorrect = false;
self.recordClaim( options );
} );
// ...for initial 'Intro' step
--
To view, visit https://gerrit.wikimedia.org/r/171871
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0c7656fdcc78649a55a4861c440be059b7ca3541
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Phuedx <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits