aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);