No, this isn't needed :-)
[redakcja.git] / project / static / js / editor.js
index cde0460..0888a34 100644 (file)
@@ -76,8 +76,7 @@ Panel.prototype.otherPanelChanged = function(other) {
 }      
 
 Panel.prototype.markChanged = function () {
-       if(!this.wrap.hasClass('changed') ) // TODO: is this needed ?
-               this.wrap.addClass('changed');
+       this.wrap.addClass('changed');
 }
 
 Panel.prototype.changed = function () {