소스 검색

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);