mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 07:24:53 +09:00
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:
1 parent
0802c5b29d
commit
9b870fde64
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user