1 | // not working? |
2 | sS hscript_reloadOnHistoryNav() { |
3 | ret hscript([[ |
4 | jQuery( document ).ready(function( $ ) { |
5 | $(window).on('popstate', function() { |
6 | location.reload(true); |
7 | }); |
8 | }); |
9 | ]]); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028662 |
Snippet name: | hscript_reloadOnHistoryNav - reload page on browser back/forward. requires JQuery |
Eternal ID of this version: | #1028662/3 |
Text MD5: | 7849aaaca9781db7abe856028ae95e6c |
Author: | stefan |
Category: | javax / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-02 15:26:18 |
Source code size: | 222 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 171 / 204 |
Version history: | 2 change(s) |
Referenced in: | [show references] |