only process embedded tpls

This commit is contained in:
barisusakli
2016-09-01 13:55:53 +03:00
parent bbec02ca39
commit 9c064d8fac

View File

@@ -380,7 +380,7 @@ $(document).ready(function() {
app.load();
$('[data-template]').each(function() {
$('[type="text/tpl"][data-template]').each(function() {
templates.cache[$(this).attr('data-template')] = $('<div/>').html($(this).html()).text();
$(this).parent().remove();
});