Substitute nonusable period in local storage saves

This commit is contained in:
BrokenEagle
2017-10-17 22:52:59 -07:00
parent 91d25475a9
commit 272617837c

View File

@@ -218,7 +218,7 @@
}
Danbooru.Autocomplete.normal_source = function(term, resp) {
var key = "ac-" + term;
var key = "ac-" + term.replace(/\./g,'\uFFFF');
if (this.enable_local_storage) {
var cached = $.localStorage.get(key);
if (cached) {