Cleanup the vars

v1.18.x
Charles 11 years ago
parent 23a88492a6
commit 6e50016a11

@ -510,14 +510,12 @@ var socket,
app.load = function() {
$('document').ready(function () {
var url = window.location.pathname.slice(1).replace(/\/$/, ""),
var url = ajaxify.removeRelativePath(window.location.pathname.slice(1).replace(/\/$/, "")),
tpl_url = ajaxify.getTemplateMapping(url),
search = window.location.search,
hash = window.location.hash,
$window = $(window);
url = ajaxify.removeRelativePath(url);
tpl_url = ajaxify.getTemplateMapping(url);
ajaxify.widgets.render(tpl_url, url);
$window.trigger('action:ajaxify.start', {

Loading…
Cancel
Save