Merge pull request #144 from RedTurtle/filippo_load_moderation_js

window load on moderation.js doesn't work on some version of FF and IE
This commit is contained in:
Jens W. Klein 2018-12-19 01:36:58 +01:00 committed by GitHub
commit b7fe86c4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -14,7 +14,9 @@ New features:
Bug fixes: Bug fixes:
- *add item here* - Changed $(window).load with $(document).ready in moderation.js
because in some version of FF and IE doesn't work.
[eikichi18]
3.1.0 (2018-10-30) 3.1.0 (2018-10-30)

View File

@ -24,10 +24,9 @@ require([ // jshint ignore:line
//#JSCOVERAGE_IF 0 //#JSCOVERAGE_IF 0
/************************************************************************** /**************************************************************************
* Window Load Function: Executes when complete page is fully loaded, * Document Ready Function: Executes when DOM is ready.
* including all frames,
**************************************************************************/ **************************************************************************/
$(window).load(function () { $(document).ready(function () {
/********************************************************************** /**********************************************************************
* Delete a single comment. * Delete a single comment.