mmRouter icon indicating copy to clipboard operation
mmRouter copied to clipboard

点击内部链接跳转拦截的问题

Open q13 opened this issue 9 years ago • 1 comments

升级新版后发现,第一次点击内部链接跳转没问题,地址栏中会自动将#test替换成#!test,第二次点击又变回#test了(firefox 29.0.1)。

<a href="#test">test</a>

这块去掉了对#前缀的判定,只对#!做了拦截,是故意这么做的吗 @RubyLouvre https://github.com/RubyLouvre/mmRouter/blob/master/mmHistory.js#L250

q13 avatar Apr 10 '15 06:04 q13

有简单例子吗,一个完整的页面

RubyLouvre avatar Apr 10 '15 08:04 RubyLouvre