Update jQuery from 1.12.4 to 3.7.1
[phorkie.git] / www / js / autologin.js
index ccd20f27aa9258aacb45306a996a91f6225bc7c2..cacf8dcc25095fb29f04672a822829f705d251d4 100644 (file)
@@ -29,7 +29,7 @@ function notifyAutologin(data)
             + ' style="display: none; position: fixed; top: 0px; left: 0px; width: 100%; text-align: center">'
             + 'Welcome, ' + data.name + '.'
             + ' You have been logged in - '
-            + '<a href="#" onclick="document.location.reload();">reload</a> to see it.'
+            + '<a href="' + document.location + '">reload</a> to see it.'
             + '</div>'
         );
     $('#autologinnotifier').click(function(event) {