diff options
author | bie <bie@blekksprut.net> | 2016-11-11 03:04:15 +0900 |
---|---|---|
committer | bie <bie@blekksprut.net> | 2016-11-11 03:04:15 +0900 |
commit | 06947f5d86f9d0026f75005aa2510cba0800072e (patch) | |
tree | 75e1f8781cfabcfdaa71eb1a75c97f3c3367dd0c /ukulele.js | |
parent | d57d5d4c678069a539cb8300ca124b929361bd3f (diff) | |
download | ukulele-06947f5d86f9d0026f75005aa2510cba0800072e.tar.xz |
bruke orz-url
Diffstat (limited to 'ukulele.js')
-rw-r--r-- | ukulele.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -117,8 +117,9 @@ document.addEventListener("DOMContentLoaded", function(e) { var orz = document.getElementById('orz'); if(orz) { + var url = orz.getAttribute('data-url'); orz.onclick = function(e) { - window.open("/orz"); + window.open(url); return false; } button(orz, "> sitat", marxup_quote); |