removing defunct "template" argument in ajaxify.go

This commit is contained in:
Julian Lam
2013-12-17 21:53:50 -05:00
parent 65d5a6cb81
commit d86aefb518
3 changed files with 7 additions and 6 deletions

View File

@@ -126,8 +126,7 @@
templates.load_template = function (callback, url, template) {
var location = document.location || window.location,
api_url = (url === '' || url === '/') ? 'home' : url,
tpl_url = templates.get_custom_map(api_url.split('?')[0]),
trimmed = api_url;
tpl_url = templates.get_custom_map(api_url.split('?')[0]);
if (!tpl_url) {
tpl_url = templates.getTemplateNameFromUrl(api_url);