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

Loading…
Cancel
Save