From 2308c01fecee2e78c062632ffea21dbab5a8c72c Mon Sep 17 00:00:00 2001 From: martec Date: Mon, 13 Oct 2014 21:31:03 +0900 Subject: [PATCH] solve height issue --- inc/plugins/quickadveditor.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/plugins/quickadveditor.php b/inc/plugins/quickadveditor.php index 5293c1f..bf754ee 100644 --- a/inc/plugins/quickadveditor.php +++ b/inc/plugins/quickadveditor.php @@ -19,7 +19,7 @@ function quickadveditor_info () "website" => "", "author" => "martec", "authorsite" => "", - "version" => "5.5.1", + "version" => "5.5.2", "guid" => "", "compatibility" => "18*" ); @@ -189,7 +189,7 @@ function quickadveditor_activate() \$.jGrowl(\'\'); ed_id = \$(this).attr(\'id\'); var pid = ed_id.replace( /[^0-9]/g, \'\'); - \$(\'#quickedit_\'+pid).height({\$mybb->settings[\'quickadveditor_qued_heigh\']}+\'px\'); + \$(\'#quickedit_\'+pid).height(\'{\$mybb->settings[\'quickadveditor_qued_heigh\']}px\'); setTimeout(function() { \$(\'#quickedit_\'+pid).sceditor(opt_editor); if (\$(\'#quickedit_\'+pid).sceditor(\'instance\')) { @@ -222,7 +222,7 @@ function quickadveditor_activate() \$(document).ready(function() { - \$(\'#message\').height({\$mybb->settings[\'quickadveditor_qurp_heigh\']}+\'px\'); + \$(\'#message\').height(\'{\$mybb->settings[\'quickadveditor_qurp_heigh\']}px\'); var link_can = document.querySelector(\"link[rel=\'canonical\']\"); \$(\'#message\').sceditor(opt_editor); MyBBEditor = $(\'#message\').sceditor(\'instance\'); @@ -340,7 +340,7 @@ function quickadveditor_activate() }); \$(document).ready(function() { - \$(\'#message\').height({\$mybb->settings[\'quickadveditor_qurp_heigh\']}+\'px\'); + \$(\'#message\').height(\'{\$mybb->settings[\'quickadveditor_qurp_heigh\']}px\'); \$(\'#message\').sceditor(opt_editor); MyBBEditor = $(\'#message\').sceditor(\'instance\'); {\$sourcemode}