Fixed little error in Oversimplified.Load() debug message.

This commit is contained in:
Robbie Antenesse 2016-04-17 15:52:29 -06:00
parent c923b2b8ec
commit 3401cb3559
1 changed files with 1 additions and 1 deletions

View File

@ -1381,7 +1381,7 @@ Oversimplified.Load = function (location) {
// Load data from specified location in browser's Local Storage
if(typeof(Storage) !== "undefined") {
if (localStorage.getItem(location)) {
if (Oversimplified.DEBUG.showMessages) console.log("Successfully saved " + data + " to localStorage[\"" + location + "\"].");
if (Oversimplified.DEBUG.showMessages) console.log("Successfully loaded from localStorage[\"" + location + "\"].");
return localStorage.getItem(location);
} else {
if (Oversimplified.DEBUG.showMessages) console.log("No data saved in localStorage[\"" + location + "\"].");