Ticket #4185: 4185.patch
File 4185.patch, 730 bytes (added by , 14 years ago) |
---|
-
_source/plugins/fakeobjects/plugin.js
25 25 if ( style ) 26 26 { 27 27 // Get the width from the style. 28 var match = /(?:^|\s)width\s*:\s*(\d+)/ .exec( style ),28 var match = /(?:^|\s)width\s*:\s*(\d+)/i.exec( style ), 29 29 width = match && match[1]; 30 30 31 31 // Get the height from the style. 32 match = /(?:^|\s)height\s*:\s*(\d+)/ .exec( style );32 match = /(?:^|\s)height\s*:\s*(\d+)/i.exec( style ); 33 33 var height = match && match[1]; 34 34 35 35 if ( width )