1 | sS js_redirectAutoScroll2() { |
2 | ret [[$("input[name=redirect], input[name=redirectAfterSave]").val(window.location.toString().replace(/(#.+?)$/, "") + (window.scrollY == 0 ? "" : "#scrollTo" + Math.round(window.scrollY)));]]; |
3 | } |
Began life as a copy of #1031036
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031071 |
Snippet name: | js_redirectAutoScroll2 |
Eternal ID of this version: | #1031071/3 |
Text MD5: | 8bb3be411be68223cfe6024702e246cf |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-29 22:30:46 |
Source code size: | 229 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 164 / 197 |
Version history: | 2 change(s) |
Referenced in: | [show references] |