Fix clearing of all javascript storage
This commit is contained in:
committed by
Frédéric Guillot
parent
0f3cd7802c
commit
d1b4b26c04
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user