Преглед на файлове

Fixed template cache issue.

Nathaniel van Diepen преди 10 години
родител
ревизия
4186bc1bfc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      js/index.js

+ 1 - 1
js/index.js

@@ -71,7 +71,7 @@
 						name: name,
 						template: template,
 						type: type,
-						hash: templates[id].hash
+						hash: typeof hash == 'undefined'?'':hash
 					}
 					if(id===false){
 						console.log('Storing new template for '+type+':'+name);