aboutsummaryrefslogtreecommitdiff
path: root/ukulele.js
diff options
context:
space:
mode:
authorbie <bie@blekksprut.net>2016-11-11 03:04:15 +0900
committerbie <bie@blekksprut.net>2016-11-11 03:04:15 +0900
commit06947f5d86f9d0026f75005aa2510cba0800072e (patch)
tree75e1f8781cfabcfdaa71eb1a75c97f3c3367dd0c /ukulele.js
parentd57d5d4c678069a539cb8300ca124b929361bd3f (diff)
downloadukulele-06947f5d86f9d0026f75005aa2510cba0800072e.tar.xz
bruke orz-url
Diffstat (limited to 'ukulele.js')
-rw-r--r--ukulele.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ukulele.js b/ukulele.js
index 846b924..c4f9073 100644
--- a/ukulele.js
+++ b/ukulele.js
@@ -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);