aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Splitter.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Splitter.js')
-rwxr-xr-xjs/panels/Splitter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/Splitter.js b/js/panels/Splitter.js
index cb05104d..3215e928 100755
--- a/js/panels/Splitter.js
+++ b/js/panels/Splitter.js
@@ -56,14 +56,14 @@ exports.Splitter = Montage.create(Component, {
56 set: function(value) { 56 set: function(value) {
57 this._collapsed = value; 57 this._collapsed = value;
58 58
59 this.application.localStorage._setItem(this.element.getAttribute("data-montage-id"), {"version": this.version, "value": value}); 59 this.application.localStorage.setItem(this.element.getAttribute("data-montage-id"), {"version": this.version, "value": value});
60 } 60 }
61 }, 61 },
62 62
63 prepareForDraw: { 63 prepareForDraw: {
64 value: function() { 64 value: function() {
65 //Get splitter initial value from SettingManager 65 //Get splitter initial value from SettingManager
66 var storedData = this.application.localStorage._getItem(this.element.getAttribute("data-montage-id")); 66 var storedData = this.application.localStorage.getItem(this.element.getAttribute("data-montage-id"));
67 if(storedData && this.element.getAttribute("data-montage-id") !== null) { 67 if(storedData && this.element.getAttribute("data-montage-id") !== null) {
68 this._collapsed = storedData.value; 68 this._collapsed = storedData.value;
69 } else { 69 } else {