🐛 Fix a faulty attr->prop change
[Sone.git] / 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");