🐛 Fix a faulty attr->prop change
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 Nov 2019 01:33:10 +0000 (02:33 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 Nov 2019 01:33:10 +0000 (02:33 +0100)
src/main/resources/static/javascript/sone.js

index e62e8f6..035bd7c 100644 (file)
@@ -1059,7 +1059,7 @@ function ajaxifyNotification(notification) {
        notification.find("form").submit(function() {
                return false;
        });
-       notification.find("input[name=returnPage]").val($.url.prop("relative"));
+       notification.find("input[name=returnPage]").val($.url.attr("relative"));
        if (notification.find(".short-text").length > 0) {
                notification.find(".short-text").removeClass("hidden");
                notification.find(".text").addClass("hidden");