aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2015-04-06 11:47:43 +1000
committerSam Potts <me@sampotts.me>2015-04-06 11:47:43 +1000
commitb2421b592a57b19a1657043eafb5d49919257071 (patch)
treec259bb97d9e35d8c29c216335b489d9bf5aaef6a
parent5322f4c62fc05aa0caafa66592677d67aa55bd05 (diff)
parent7ab8647fc845c685463168aaf41abb2344abf0ee (diff)
downloadplyr-b2421b592a57b19a1657043eafb5d49919257071.tar.lz
plyr-b2421b592a57b19a1657043eafb5d49919257071.tar.xz
plyr-b2421b592a57b19a1657043eafb5d49919257071.zip
Merge branch 'master' of github.com:selz/plyr
-rw-r--r--src/js/plyr.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index 4a548bfa..49f9d5c2 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -1153,7 +1153,7 @@
// Store the volume in storage
if(config.storage.enabled && _storage().supported) {
- window.localStorage.plyr_volume = volume;
+ window.localStorage.setItem(config.storage.key, volume);
}
}
@@ -1662,4 +1662,4 @@
return players;
}
-}(this.plyr = this.plyr || {})); \ No newline at end of file
+}(this.plyr = this.plyr || {}));