aboutsummaryrefslogtreecommitdiff
path: root/ukulele.js
diff options
context:
space:
mode:
authorTom Glenne <tom@kyber.io>2016-11-10 19:17:04 +0100
committerTom Glenne <tom@kyber.io>2016-11-10 19:17:04 +0100
commite6258e22390462c88955147d91e230ab1aa3e11c (patch)
treeb17242e36aaadc5aea0adb8608ebf6872e651c40 /ukulele.js
parent56468e119466db0ea71c6611446d417b129fb861 (diff)
parentde495fa4a4a96faf74ef0768e956155f797606c5 (diff)
downloadukulele-e6258e22390462c88955147d91e230ab1aa3e11c.tar.xz
Merge branch 'master' of http://blekksprut.net/git/ukulele
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 7ccf6b5..bce1853 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);