Fix theme box.
[redakcja.git] / src / redakcja / static / js / wiki / view_editor_wysiwyg.js
index c1c9f6f..72e218a 100644 (file)
         var w = $box.outerWidth();
         var h = $box.innerHeight();
 
-        if ($origin.is(".annotation-inline-box") | $origin.is('*[x-edit-no-format]')) {
+        if ($origin.is(".annotation-inline-box") | $origin.is('.reference-inline-box')) {
             w = Math.max(w, 400);
             h = Math.max(h, 60);
             if($('.htmlview div').offset().left + $('.htmlview div').width() > ($('.vsplitbar').offset().left - 480)){