Bug Tracker

Ticket #2172: opera.patch

File opera.patch, 0.6 kB (added by scott.gonzalez, 1 year ago)
  • ui.resizable.js

     
    165165 
    166166            var el = this.helper, o = this.options; 
    167167            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); 
    169169                el.css(a, o['current'+(/(height|width)/.test(a) ? 'Size' : 'Position')][a] - mod); 
    170170            }; 
    171171