Index: trunk/extensions/UploadWizard/resources/mw.UploadWizardDeed.js |
— | — | @@ -56,7 +56,7 @@ |
57 | 57 | .addClass( 'mwe-upwiz-sign' ); |
58 | 58 | |
59 | 59 | var ownWork = mw.UploadWizard.config.licensesOwnWork; |
60 | | - var licenseIsNotDefault = ( ownWork.licenses.length == 1 && ownWork.licenses[0] != ownWork.defaults[0] ); |
| 60 | + var licenseIsNotDefault = ( ownWork.licenses.length === 1 && ownWork.licenses[0] !== ownWork.defaults[0] ); |
61 | 61 | _this.showCustomDiv = ownWork.licenses.length > 1 || licenseIsNotDefault; |
62 | 62 | |
63 | 63 | if ( _this.showCustomDiv ) { |
Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js |
— | — | @@ -1196,7 +1196,7 @@ |
1197 | 1197 | |
1198 | 1198 | if ( mw.UploadWizard.config.ownWorkOption == 'own' ) { |
1199 | 1199 | var ownWork = mw.UploadWizard.config.licensesOwnWork; |
1200 | | - var licenseIsNotDefault = ( ownWork.licenses.length == 1 && ownWork.licenses[0] != ownWork.defaults[0] ); |
| 1200 | + var licenseIsNotDefault = ( ownWork.licenses.length === 1 && ownWork.licenses[0] !== ownWork.defaults[0] ); |
1201 | 1201 | return ownWork.licenses.length > 1 || licenseIsNotDefault; |
1202 | 1202 | } |
1203 | 1203 | else { |