Skip to content

Commit

Permalink
fix: source mode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
martec committed Sep 28, 2014
1 parent 24121c6 commit b6b48a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/plugins/quickadveditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function quickadveditor_info ()
"website" => "",
"author" => "martec",
"authorsite" => "",
"version" => "5.0.0",
"version" => "5.0.1",
"guid" => "",
"compatibility" => "18*"
);
Expand Down Expand Up @@ -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()) {
Expand Down

0 comments on commit b6b48a7

Please sign in to comment.