Fix clearing of all javascript storage

This commit is contained in:
Rafael de Camargo
2020-06-26 13:58:20 -03:00
committed by Frédéric Guillot
parent 0f3cd7802c
commit d1b4b26c04
2 changed files with 2 additions and 2 deletions

View File

@@ -135,6 +135,6 @@ Kanboard.Swimlane.prototype.savePosition = function(swimlaneId, position) {
// except for one have been removed.
Kanboard.Swimlane.prototype.expandSingleSwimlane = function() {
if ($("tr.board-swimlane").length == 1) {
localStorage.clear(this.getStorageKey());
localStorage.removeItem(this.getStorageKey());
}
}