X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f02d58db2f0a5f06c38d669c4b4c4fff95e55395..12e7b7cbf07c8633f3093df7b4898156cca768f6:/project/static/js/editor.js?ds=sidebyside diff --git a/project/static/js/editor.js b/project/static/js/editor.js index 131c8632..7b145626 100644 --- a/project/static/js/editor.js +++ b/project/static/js/editor.js @@ -86,8 +86,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 () {