Browse Source

Update visibility debug

pull/2034/head
jlukic 9 years ago
parent
commit
4d82349dc6
1 changed files with 3 additions and 3 deletions
  1. 6
      src/definitions/behaviors/visibility.js

6
src/definitions/behaviors/visibility.js

@ -180,11 +180,11 @@ $.fn.visibility = function(parameters) {
event: {
resize: function() {
module.verbose('Window resized');
module.debug('Window resized');
requestAnimationFrame(module.refresh);
},
load: function() {
module.verbose('Page finished loading');
module.debug('Page finished loading');
requestAnimationFrame(module.refresh);
},
// publishes scrollchange event on one scroll
@ -336,7 +336,7 @@ $.fn.visibility = function(parameters) {
},
refresh: function() {
module.debug('Refreshing constants (element width/height)');
module.debug('Refreshing constants (width/height)');
module.reset();
module.save.position();
module.checkVisibility();

Loading…
Cancel
Save