Zmiana rozmiaru czcionki w edytorze. Closes #16.
[redakcja.git] / project / static / js / editor.js
index eb87f43..0f56fa7 100644 (file)
@@ -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 () {
@@ -113,8 +112,6 @@ Editor.prototype.setupUI = function() {
        // set up the UI visually and attach callbacks
        var self = this;
    
-     $('*.panel-wrap:last', this.rootDiv).addClass('last-panel');       
-    
        self.rootDiv.makeHorizPanel({}); // TODO: this probably doesn't belong into jQuery
     self.rootDiv.css('top', ($('#header').outerHeight() ) + 'px');