Commons:User scripts/users namespace/reports/User:BMacZero/AjaxCfdClose.js
This is the report page for User:BMacZero/AjaxCfdClose.js. It is bot-maintained. All manual changes might be overwritten.
jshint edit
- ISSUE:
line 25 character 27
: Use '===' to compare with 'undefined'. - Evidence:if (jQuery.ui == undefined) {
- ISSUE:
line 30 character 85
: Script URL. - Evidence:mw.util.addPortletLink('p-tb', 'javascript:AjaxCfdClose.closeCfd();', this.i18n.toolboxLinkCloseCfd, 't-ajaxcfdclose', null);
- ISSUE:
line 70 character 17
: ['prependtext'] is better written in dot notation. - Evidence:edit['prependtext'] = "{{cfdh}}\n";
- ISSUE:
line 71 character 17
: ['appendtext'] is better written in dot notation. - Evidence:edit['appendtext'] = "\n----\n" + AjaxCfdClose.reason + " ~~" + "~~\n{{cfdf}}";
- ISSUE:
line 134 character 66
: Use '!==' to compare with 'false'. - Evidence:if (event.keyCode == '13' && v.enterToSubmit != false) submitButton.click();