mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
89f1bb7d2a
With a link having an empty href: `<a href>foo</a>` doing `element.href` will give you the URL of the document, to get the same behavior than `$(element).attr("href")` and get "" you need to do `element.getAttribute("href")` |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |