X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1177b1bdf74626d1edf681ae530e9d5f2e1a76a8..56485365184501ef01ffbd6451f804b0f622d639:/project/static/js/editor.js diff --git a/project/static/js/editor.js b/project/static/js/editor.js index cde04604..0888a340 100644 --- a/project/static/js/editor.js +++ b/project/static/js/editor.js @@ -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 () {