jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Kaldari: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I0c7656fdcc78649a55a4861c440be059b7ca3541
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Phuedx <[email protected]>
Gerrit-Reviewer: Awjrichards <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits