移除链接增加时间戳
This commit is contained in:
parent
b5704357ae
commit
773270948b
|
@ -3,13 +3,4 @@
|
||||||
var $subMenu = $('#submenu');
|
var $subMenu = $('#submenu');
|
||||||
var $breadNav = $('#breadNav');
|
var $breadNav = $('#breadNav');
|
||||||
$breadNav.hide();
|
$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;
|
|
||||||
});
|
|
||||||
});
|
});
|
Loading…
Reference in New Issue