fixes logic error in div.addMessage method
authorArno Renevier <arno@renevier.net>
Wed, 28 Dec 2011 20:40:14 +0000 (21:40 +0100)
committerArno Renevier <arno@renevier.net>
Wed, 28 Dec 2011 20:40:14 +0000 (21:40 +0100)
public/js/utils.js

index a81262f..cda9bfe 100644 (file)
@@ -519,7 +519,7 @@ Element.addMethods('div', (function() {
         }
 
         div.appendChild(node);
-        if (!div.getOpacity()) {
+        if (div.getOpacity()) {
             show(div);
         }
         return div;