X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=library%2Ftinymce%2Fjscripts%2Ftiny_mce%2Fplugins%2Fadvimage%2Feditor_plugin_src.js;h=d2678cbcf2ed8b5fa3cbc9a5fa9d0aab05f73fd2;hb=d5a6e7b1767ebc337f31745984f1ce0904b77780;hp=2625dd2131738b87ca13023eb8771e7fc826197a;hpb=4e7a5dc56ebb8d99ed06b0b303c4ee24460ae6a8;p=friendica.git diff --git a/library/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js b/library/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js index 2625dd2131..d2678cbcf2 100644 --- a/library/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js +++ b/library/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js @@ -14,7 +14,7 @@ // Register commands ed.addCommand('mceAdvImage', function() { // Internal image object like a flash placeholder - if (ed.dom.getAttrib(ed.selection.getNode(), 'class').indexOf('mceItem') != -1) + if (ed.dom.getAttrib(ed.selection.getNode(), 'class', '').indexOf('mceItem') != -1) return; ed.windowManager.open({