Closed richard-flosi closed 10 years ago
I don't use IE, but I'll take your word for it that the a
tag without href causes havok. Merged pull request. (thanks for the demo, saved me some time and allowed me to merged faster).
Right on. I probably should have version bumped too. You want a Pull Request for that as well?
Nah, its cool, I'll do it later (I'll take this chance to fix a couple of other quirks).
Using an
a
tag without ahref
or even with ahref="#"
can produce undesirable results in IE9, i.e. linking or triggering a route. This issue is easily avoidable by using abutton
instead. This issue is probably most relevant to single-page web applications.I've pushed a demo of these changes to my gh-pages branch which you can see here: http://richard-flosi.github.io/jquery-cropbox/
This Pull Request simply changes the
a
tags tobutton
and updates the css accordingly to make sure the +/- are centered in the button.