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
2 changed files with 5 additions and 4 deletions
+3 -1
View File
@@ -14,7 +14,9 @@ New features:
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)
@@ -24,10 +24,9 @@ require([ // jshint ignore:line
//#JSCOVERAGE_IF 0
/**************************************************************************
* Window Load Function: Executes when complete page is fully loaded,
* including all frames,
* Document Ready Function: Executes when DOM is ready.
**************************************************************************/
$(window).load(function () {
$(document).ready(function () {
/**********************************************************************
* Delete a single comment.