mikel333 / restylegc

Automatically exported from code.google.com/p/restylegc
0 stars 0 forks source link

error in version RESTYLEgc 1.1.1 #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. The problem is that you can't change the width of the bubble in the new 
version
 I did find the solution hower
 On line 159 of the file 'restylegc.php' it says:

jQuery('.bubble').each(function(){ 
        style = $(this).attr('style').replace(/width: \d+px;?/i, ''); 
        jQuery(this).attr('style', style); 
});

SO this doesn't work because you don't use de jQuery to replace the width 
element

so line
style = $(this).attr('style').replace(/width: \d+px;?/i, '');
must be
style = jQuery(this).attr('style').replace(/width: \d+px;?/i, '');

a small typo :D
but changed much for me :P :D

Original issue reported on code.google.com by robbecoe...@gmail.com on 17 Jun 2011 at 3:31

GoogleCodeExporter commented 9 years ago

Original comment by brian.gi...@gmail.com on 18 Jun 2011 at 6:16

GoogleCodeExporter commented 9 years ago
Fixed in version 1.1.2

Original comment by brian.gi...@gmail.com on 19 Jun 2011 at 2:15