apsavin / bnsf

bem node single page application framework
MIT License
43 stars 4 forks source link

prevendDefault does not work for clicks by links #29

Closed jifeon closed 9 years ago

jifeon commented 9 years ago

That is :) preventDefault prevents only origin event, but bnsf loads the page in any case. I think we should look at defaultPrevented property.

jifeon commented 9 years ago

Also need to add info about it to wiki

apsavin commented 9 years ago

Sounds reasonable.