From 8586b1d381503ec432b0b66c91e891e48e2b5da5 Mon Sep 17 00:00:00 2001 From: Luke Ryley Date: Thu, 21 Jan 2016 16:11:49 +1300 Subject: [PATCH] Minor: Message overflow fixed using .css changed the meathod used to fix the message overflow to .css instead of .attr to prevent other styles from being overwritten --- js/cms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/cms.js b/js/cms.js index 2fd5bdc..7fad11c 100644 --- a/js/cms.js +++ b/js/cms.js @@ -91,7 +91,7 @@ minInnerWidth: 620, onadd: function() { // Adding margin to prevent post options from overlaping message box - $('#Form_EditForm_error ').attr('style', 'margin-right: 56px'); + $('#Form_EditForm_error ').css('margin-right', '56px'); this._super(); this.updateLayout();