Fossil SCM

Remove a stray, but harmless, copy/paste line from the previous two checkins.

stephan 2026-07-07 08:33 UTC trunk
Commit fb7b36d3fdcc214a62bed79eeed3c64c7fddd43851f4d1df55b932556e3d26f5
1 file changed -1
--- src/builtin.c
+++ src/builtin.c
@@ -705,11 +705,10 @@
705705
** Summary: custom skins which emit their own BODY need to have
706706
** the BODY element's CSS classes set so that various CSS selectors
707707
** and JS-side filters will work. */
708708
char *pSlash = strchr(g.zPath,'/')/*hack taken from style.c*/;
709709
if( pSlash ) *pSlash = 0;
710
- Th_Store("requested_page", escape_quotes(g.zPath));
711710
CX("document.body.classList.add(%!j, \"rpage-%j\","
712711
"\"cpage-%j\");\n",
713712
style_get_current_feature(), g.zPath, g.zPhase+1);
714713
if( pSlash ) *pSlash = '/';
715714
}
716715
--- src/builtin.c
+++ src/builtin.c
@@ -705,11 +705,10 @@
705 ** Summary: custom skins which emit their own BODY need to have
706 ** the BODY element's CSS classes set so that various CSS selectors
707 ** and JS-side filters will work. */
708 char *pSlash = strchr(g.zPath,'/')/*hack taken from style.c*/;
709 if( pSlash ) *pSlash = 0;
710 Th_Store("requested_page", escape_quotes(g.zPath));
711 CX("document.body.classList.add(%!j, \"rpage-%j\","
712 "\"cpage-%j\");\n",
713 style_get_current_feature(), g.zPath, g.zPhase+1);
714 if( pSlash ) *pSlash = '/';
715 }
716
--- src/builtin.c
+++ src/builtin.c
@@ -705,11 +705,10 @@
705 ** Summary: custom skins which emit their own BODY need to have
706 ** the BODY element's CSS classes set so that various CSS selectors
707 ** and JS-side filters will work. */
708 char *pSlash = strchr(g.zPath,'/')/*hack taken from style.c*/;
709 if( pSlash ) *pSlash = 0;
 
710 CX("document.body.classList.add(%!j, \"rpage-%j\","
711 "\"cpage-%j\");\n",
712 style_get_current_feature(), g.zPath, g.zPhase+1);
713 if( pSlash ) *pSlash = '/';
714 }
715

Keyboard Shortcuts

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