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

Loading…
Cancel
Save