MyBB Community Forums

Full Version: Edit Signature template .js HELP NEEDED!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have an issue with textarea in edit signature template so I have done this edit to editor.js it works but I am not sure if it's secure!!!

Original code
// Determine the overall height and width - messy, but works
        w = oldTextarea.getDimensions().width+"px";
        if(!w || parseInt(w) < 400)
        {
            w = "400px";

My fix
// Determine the overall height and width - messy, but works
        w = oldTextarea.getDimensions().width+"px";
        if(!w || parseInt(w) < 550)
        {
            w = "550px";

Can this somehow mess my forum?????