From 5723d235d12ee07d5e5f73560a2f84cea534ab0c Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 23 Apr 2014 20:28:48 +0200 Subject: fixed clash with new bottle templates --- pyload/web/app/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyload/web/app/index.html b/pyload/web/app/index.html index 7759b0cfa..5bf3971ab 100644 --- a/pyload/web/app/index.html +++ b/pyload/web/app/index.html @@ -22,7 +22,7 @@ // Use value set by templateEngine or default val function configValue(string, defaultValue) { - if (string.indexOf('{{') > -1 && string !== 'None' && string !== '') + if (string.indexOf('{'+'{') > -1 && string !== 'None' && string !== '') return defaultValue; return string; } -- cgit v1.2.3