From b6b48a716dba6f315461c7ae8f097bcb166e1284 Mon Sep 17 00:00:00 2001 From: martec Date: Sun, 28 Sep 2014 21:32:09 +0900 Subject: [PATCH] fix: source mode issue --- inc/plugins/quickadveditor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/plugins/quickadveditor.php b/inc/plugins/quickadveditor.php index 69d13e8..eaaed78 100644 --- a/inc/plugins/quickadveditor.php +++ b/inc/plugins/quickadveditor.php @@ -19,7 +19,7 @@ function quickadveditor_info () "website" => "", "author" => "martec", "authorsite" => "", - "version" => "5.0.0", + "version" => "5.0.1", "guid" => "", "compatibility" => "18*" ); @@ -203,8 +203,8 @@ function quickadveditor_activate() \$(\'#message\').height(\'280px\'); var link_can = document.querySelector(\"link[rel=\'canonical\']\"); \$(\'#message\').sceditor(opt_editor); - {\$sourcemode} MyBBEditor = $(\'#message\').sceditor(\'instance\'); + {\$sourcemode} if({\$mybb->settings[\'quickadveditor_autosave\']}!=0) { MyBBEditor.blur(function(e) { if (MyBBEditor.val()) {