Back button fails after [removed].replace(href);

前端 未结 2 1113
眼角桃花
眼角桃花 2021-02-12 20:38

I made simple function which makes all container behave like link ("a" element).

function allHot(element){
$(element)
.click(
    function(){
    var hr         


        
2条回答
  •  闹比i
    闹比i (楼主)
    2021-02-12 21:00

    Instead of using replace, use the following:

    window.location.href = ''
    

提交回复
热议问题