Quellcode durchsuchen

Clear linkAddress when user moves away from the page

dvemula vor 13 Jahren
Ursprung
Commit
925a06387e
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      copylinkaddress.js

+ 1 - 0
copylinkaddress.js

@@ -31,5 +31,6 @@ $(function() {
         }
     });
 
+    // Clear linkAddress when user closes or moves away from the page
     window.onbeforeunload = clearLinkAddress();
 });