Browse Source

Couple unnecessary lines

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

4
src/definitions/behaviors/visibility.js

@ -59,6 +59,7 @@ $.fn.visibility = function(parameters) {
|| function(callback) { setTimeout(callback, 0); }, || function(callback) { setTimeout(callback, 0); },
element = this, element = this,
observer, observer,
module module
; ;
@ -123,9 +124,6 @@ $.fn.visibility = function(parameters) {
}, },
observeChanges: function() { observeChanges: function() {
var
context = $context[0]
;
if('MutationObserver' in window) { if('MutationObserver' in window) {
observer = new MutationObserver(function(mutations) { observer = new MutationObserver(function(mutations) {
module.verbose('DOM tree modified, updating visibility calculations'); module.verbose('DOM tree modified, updating visibility calculations');

Loading…
Cancel
Save