Skip to content

Commit

Permalink
Update ng-tiny-scrollbar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
modmac committed Apr 19, 2017
1 parent c772199 commit dc9d46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng-tiny-scrollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
$element.on(wheelEvent, wheel);
}

if (self.options.autoUpdate && typeof window.MutationObserver === 'function') {
if (self.options.autoUpdate && typeof MutationObserver === 'function') {
(function () {
var recentWidth = $overview[0].offsetWidth,
recentHeight = $overview[0].offsetHeight,
Expand Down

0 comments on commit dc9d46f

Please sign in to comment.