Ticket #2172: opera.patch
File opera.patch, 659 bytes (added by , 15 years ago) |
---|
-
ui.resizable.js
165 165 166 166 var el = this.helper, o = this.options; 167 167 var change = function(a,b) { 168 var mod = (e['page'+(/(top|height)/.test(a) ? 'Y' : 'X')] - o.startPosition[ (/(top|height)/.test(a) ? 'top' : 'left')]) * (b ? -1 : 1);168 var mod = (e['page'+(/(top|height)/.test(a) ? 'Y' : 'X')] - o.startPosition[''+(/(top|height)/.test(a) ? 'top' : 'left')]) * (b ? -1 : 1); 169 169 el.css(a, o['current'+(/(height|width)/.test(a) ? 'Size' : 'Position')][a] - mod); 170 170 }; 171 171