summaryrefslogtreecommitdiff
path: root/js/api/localstorage.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/api/localstorage.js')
-rw-r--r--js/api/localstorage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/api/localstorage.js b/js/api/localstorage.js
index 309d49d..835d139 100644
--- a/js/api/localstorage.js
+++ b/js/api/localstorage.js
@@ -6,7 +6,7 @@ local_shaders.init = function(){
local_shaders.bind = function(){
local_shaders.buttons = {}
if ('EXAMPLE_SHADERS' in window) {
- local_shaders.bindButtons( window.SHADERS )
+ local_shaders.bindButtons( window.EXAMPLE_SHADERS )
}
local_shaders.bindButtons( local_shaders.getShaders() )
document.getElementById("add-shader").addEventListener("click", local_shaders.save, false)