Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

erm, another fix for the overlay button. previous commit broke Opera …

…support, hehe. fixed!

--HG--
extra : convert_revision : svn%3Afc1ba2b4-ac28-11dd-a772-7fcde58d38e6/trunk%40110
  • Loading branch information...
commit 8b86fec69193b32395226f5a71a9ca53ae833b1f 1 parent 28367d3
mihai.sucan authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 ext/tinymce-plugin/paintweb/editor_plugin_src.js
View
6 ext/tinymce-plugin/paintweb/editor_plugin_src.js
@@ -17,7 +17,7 @@
* along with PaintWeb. If not, see <http://www.gnu.org/licenses/>.
*
* $URL: http://code.google.com/p/paintweb $
- * $Date: 2009-08-12 19:57:50 +0300 $
+ * $Date: 2009-08-12 20:06:23 +0300 $
*/
/**
@@ -781,8 +781,8 @@ tinymce.create('tinymce.plugins.paintweb', {
*/
edNodeChange: function (ed, cm, n) {
// Do not do anything inside the overlay button.
- if (!targetImage && overlayButton && n && n.className ===
- overlayButton.className && n._targetImage === n.previousSibling) {
+ if (overlayButton && overlayButton._targetImage && n && n.className ===
+ overlayButton.className) {
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.