Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5646 from SAPlayer/fix-5575
Browse files Browse the repository at this point in the history
Fix #5575: Rule list hides as soon as there is only one rule left
  • Loading branch information
Narciso Jaramillo committed Nov 1, 2013
2 parents ea673b4 + 7068506 commit cb7beed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/editor/MultiRangeInlineEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,10 @@ define(function (require, exports, module) {
this._updateSelectedMarker();
}

if (this._ranges.length === 1) {
this.$relatedContainer.remove();
}

this._updateCommands();
};

Expand Down

0 comments on commit cb7beed

Please sign in to comment.