Fossil SCM
Simplify the previous commit.
Commit
b12e52aaf7b5096d910c20523356e9b148cfe2d6cb17f215e8e15eca8a5188b4
Parent
4cc0881decfd843…
1 file changed
+1
-2
+1
-2
| --- src/robot.c | ||
| +++ src/robot.c | ||
| @@ -245,12 +245,11 @@ | ||
| 245 | 245 | @ window.addEventListener('load',function(){\ |
| 246 | 246 | @ bbb(ccc(%u(p5),%u(p4),%u(p3)),%u(k));},false); |
| 247 | 247 | /* Prevent successfully completed robot checks from reappearing and force |
| 248 | 248 | ** incomplete checks to start over when navigating back and forward. More |
| 249 | 249 | ** information: <https://stackoverflow.com/a/43043658>. */ |
| 250 | - @ window.addEventListener('pageshow',function(e){if(e.persisted||\ | |
| 251 | - @ (window.performance&&window.performance.navigation.type==2))\ | |
| 250 | + @ window.addEventListener('pageshow',function(e){if(e.persisted)\ | |
| 252 | 251 | @ window.location.reload();}); |
| 253 | 252 | @ </script> |
| 254 | 253 | style_finish_page(); |
| 255 | 254 | } |
| 256 | 255 | |
| 257 | 256 |
| --- src/robot.c | |
| +++ src/robot.c | |
| @@ -245,12 +245,11 @@ | |
| 245 | @ window.addEventListener('load',function(){\ |
| 246 | @ bbb(ccc(%u(p5),%u(p4),%u(p3)),%u(k));},false); |
| 247 | /* Prevent successfully completed robot checks from reappearing and force |
| 248 | ** incomplete checks to start over when navigating back and forward. More |
| 249 | ** information: <https://stackoverflow.com/a/43043658>. */ |
| 250 | @ window.addEventListener('pageshow',function(e){if(e.persisted||\ |
| 251 | @ (window.performance&&window.performance.navigation.type==2))\ |
| 252 | @ window.location.reload();}); |
| 253 | @ </script> |
| 254 | style_finish_page(); |
| 255 | } |
| 256 | |
| 257 |
| --- src/robot.c | |
| +++ src/robot.c | |
| @@ -245,12 +245,11 @@ | |
| 245 | @ window.addEventListener('load',function(){\ |
| 246 | @ bbb(ccc(%u(p5),%u(p4),%u(p3)),%u(k));},false); |
| 247 | /* Prevent successfully completed robot checks from reappearing and force |
| 248 | ** incomplete checks to start over when navigating back and forward. More |
| 249 | ** information: <https://stackoverflow.com/a/43043658>. */ |
| 250 | @ window.addEventListener('pageshow',function(e){if(e.persisted)\ |
| 251 | @ window.location.reload();}); |
| 252 | @ </script> |
| 253 | style_finish_page(); |
| 254 | } |
| 255 | |
| 256 |