Fossil SCM

Simplify the previous commit.

florian 2025-09-25 08:30 trunk
Commit b12e52aaf7b5096d910c20523356e9b148cfe2d6cb17f215e8e15eca8a5188b4
1 file changed +1 -2
+1 -2
--- src/robot.c
+++ src/robot.c
@@ -245,12 +245,11 @@
245245
@ window.addEventListener('load',function(){\
246246
@ bbb(ccc(%u(p5),%u(p4),%u(p3)),%u(k));},false);
247247
/* Prevent successfully completed robot checks from reappearing and force
248248
** incomplete checks to start over when navigating back and forward. More
249249
** 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)\
252251
@ window.location.reload();});
253252
@ </script>
254253
style_finish_page();
255254
}
256255
257256
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button