Fix syntax error in plugins/subspace_storage/static/storage.js (#302)

Fix _lastData being used as a global causing the script to fail to load
after strict mode was added.
This commit is contained in:
ToxicFrazzles authored and GitHub committed 2020-07-08 12:51:16 +02:00
1 parent 0802c5b29d
commit 9b870fde64
1 file changed
+1 -1
+1 -1
View File
@@ -1,6 +1,6 @@
// function to draw data we recieve from ajax requests
"use strict";
_lastData = [];
var _lastData = [];
function drawcontents(data) {
data = data || _lastData; //Cache data so we can drawcontents without waiting for the server, for the search box.
_lastData = data;