X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;fp=src%2Fmain%2Fresources%2Fstatic%2Fjavascript%2Fsone.js;h=035bd7c3a88df8fe68e0b93bd7acf1e2e1f43e4a;hp=e62e8f66fb0a7099f249209e38b3791255e365f8;hb=54c454ce01a1a8970d1d1a540a5560160eb68e34;hpb=469ed8586f976dc6414229ec5334950a3cc98986 diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index e62e8f6..035bd7c 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -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");