移除链接增加时间戳

This commit is contained in:
Argo-Lenovo 2016-11-25 17:28:04 +08:00
parent b5704357ae
commit 773270948b
1 changed files with 0 additions and 9 deletions

View File

@ -3,13 +3,4 @@
var $subMenu = $('#submenu');
var $breadNav = $('#breadNav');
$breadNav.hide();
$subMenu.on('click', 'a', function () {
var $this = $(this);
var href = $this.attr('href');
var tail = new Date().format("HHmmss");
if (href.indexOf('?') > -1) href += '&ba=' + tail;
else href += '?ba=' + tail;
window.location.href = href;
return false;
});
});