fix ox.load to work with jquery 1.5

This commit is contained in:
j 2011-02-22 20:02:07 +01:00
parent 4326c307b4
commit ff4798b421

View file

@ -24,7 +24,7 @@ $(function() {
WebkitUserSelect: 'none' WebkitUserSelect: 'none'
}, },
file = 'js/ox.load.js', file = 'js/ox.load.js',
path = $('script[src*=' + file + ']').attr('src').replace(file, ''), path = $('script[src*="' + file + '"]').attr('src').replace(file, ''),
userAgent, userAgent,
userAgents = { userAgents = {
'Chrome': 'http://www.google.com/chrome/', 'Chrome': 'http://www.google.com/chrome/',