Skip to content

Commit

Permalink
Merge pull request #15 from eea/develop
Browse files Browse the repository at this point in the history
 Refs #97410 - Fix jQuery.timer is undefined 7eba9aa
  • Loading branch information
zotya authored Jul 27, 2018
2 parents 06f8cf8 + fcece1e commit fafa93c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 5 additions & 1 deletion docs/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

10.8 - (2018-07-27)
---------------------
* Bug fix: jQuery.timer is undefined
[avoinea refs #97410]

10.7 - (2018-06-20)
---------------------
* Change: updated URLs pointing to eea.europa.eu with https://
Expand Down Expand Up @@ -488,4 +493,3 @@ Changelog
1.0 - (2009-10-29)
------------------
* Initial release

10 changes: 6 additions & 4 deletions eea/jquery/plugins/galleryview/jquery.timers-1.1.2.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ jQuery.extend({
});

jQuery(window).bind("unload", function() {
jQuery.each(jQuery.timer.global, function(index, item) {
jQuery.timer.remove(item);
});
});
if(jQuery.timer !== undefined){
jQuery.each(jQuery.timer.global, function(index, item) {
jQuery.timer.remove(item);
});
}
});
2 changes: 1 addition & 1 deletion eea/jquery/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.7
10.8

0 comments on commit fafa93c

Please sign in to comment.