Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Reparing image Toggler
solonova
New
The img toggler not reduce img because 'auto' property cant find by my navigator.
Then i sustitute 'auto' for the "container.width" in js/global.js , line 810
Before:
var toggler = function(t_img, t_width) { if (t_img.css('width') == 'auto') t_img.css('width',t_width); else t_img.css('width','auto'); return false; }
After:
var toggler = function(t_img, t_width) { var container = jQuery('div.Message'); var smwidth = container.width(); if (t_img.css('width') != smwidth+'px'){t_img.css('width',t_width);} else{t_img.css('width','auto');} return false; }
Thanks !
Tagged:
0
Comments
Good fix !
There was an error rendering this rich post.