Skip to content

Commit

Permalink
Issue #1 js
Browse files Browse the repository at this point in the history
  • Loading branch information
ytilotti authored Dec 28, 2017
1 parent 85dfaee commit 6de4eec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yoload/yoload.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Issues: https://github.com/ytilotti/yoload/issues
options = self.options;

if (!self.counter) {
self.$wrapper.css('top', $element.scrollTop()+'px').css('left', $element.scrollLeft()+'px');
$element.css('overflow', 'hidden');
self.$wrapper.fadeIn(options.fade);
}
Expand Down Expand Up @@ -145,4 +146,4 @@ Issues: https://github.com/ytilotti/yoload/issues
fade: 0,
template: '<span class="yoload"></span>'
};
}));
}));

0 comments on commit 6de4eec

Please sign in to comment.