Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
dioslaska committed Jan 20, 2015
1 parent a960485 commit 8b79834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions js/mobiscroll.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@
if (!el.id) {
el.id = 'mobiscroll' + (++id);
}

// Save instance
instances[el.id] = that;
};

})(jQuery);
1 change: 0 additions & 1 deletion js/mobiscroll.widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,6 @@
event = that.trigger;

if (!inherit) {
instances[el.id] = that;
that.init(settings);
}
};
Expand Down

0 comments on commit 8b79834

Please sign in to comment.