Ticket #3172: 3172.patch
File 3172.patch, 714 bytes (added by , 15 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+)/.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+)/.exec( style ); 33 33 var height = match && match[1]; 34 34 35 35 if ( width )