mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Scroll tweaks
This commit is contained in:
@ -244,7 +244,7 @@ var utils = (function () {
|
||||
ionic.views.Scroll = function (options) {
|
||||
var el = options.el;
|
||||
|
||||
this.wrapper = typeof el == 'string' ? document.querySelector(el) : el;
|
||||
this.wrapper = el;//typeof el == 'string' ? document.querySelector(el) : el;
|
||||
this.scroller = this.wrapper.children[0];
|
||||
this.scrollerStyle = this.scroller.style; // cache style for better performance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user