equal
deleted
inserted
replaced
137 if (value) { |
137 if (value) { |
138 var body = this.$element.find(this.options.overflow); |
138 var body = this.$element.find(this.options.overflow); |
139 if (body.css('overflow') === undefined) { |
139 if (body.css('overflow') === undefined) { |
140 body.style('overflow', 'auto', 'important'); |
140 body.style('overflow', 'auto', 'important'); |
141 } |
141 } |
142 body.style(prop, (typeof(value) == 'function' ? value() : value) + 'px', 'important'); |
142 body.style(prop, (typeof(value) === 'function' ? value() : value) + 'px', 'important'); |
143 } |
143 } |
144 |
144 |
145 var modalOverflow = $(window).height() - 10 < this.$element.height(); |
145 var modalOverflow = $(window).height() - 10 < this.$element.height(); |
146 |
146 |
147 // if (modalOverflow || this.options.modalOverflow) { |
147 // if (modalOverflow || this.options.modalOverflow) { |