diff options
author | Tom Glenne <tom@kyber.io> | 2016-11-10 19:17:04 +0100 |
---|---|---|
committer | Tom Glenne <tom@kyber.io> | 2016-11-10 19:17:04 +0100 |
commit | e6258e22390462c88955147d91e230ab1aa3e11c (patch) | |
tree | b17242e36aaadc5aea0adb8608ebf6872e651c40 /ukulele.js | |
parent | 56468e119466db0ea71c6611446d417b129fb861 (diff) | |
parent | de495fa4a4a96faf74ef0768e956155f797606c5 (diff) | |
download | ukulele-e6258e22390462c88955147d91e230ab1aa3e11c.tar.xz |
Merge branch 'master' of http://blekksprut.net/git/ukulele
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); |