Skip to content

Commit

Permalink
Update tools.js (#830)
Browse files Browse the repository at this point in the history
Tools mit Redaxo 5.9 auf Grund von jQuery 3 nicht mehr funktionsfähig, daher auf Event rex:ready umstellen. 
https://jquery.com/upgrade-guide/3.0/#breaking-change-on-quot-ready-quot-fn-removed
  • Loading branch information
NGWNGW authored Feb 14, 2020
1 parent aa32647 commit 7076486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/tools/assets/tools.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(document).on('ready pjax:success',function() {
$(document).on('rex:ready',function() {

var monthNames = [
"January",
Expand Down Expand Up @@ -202,4 +202,4 @@ $(document).on('ready pjax:success',function() {
}
})

});
});

0 comments on commit 7076486

Please sign in to comment.