Fossil SCM
Change the default auto-hyperlink-delay from 0 to 10 milliseconds.
Commit
ddd16596775681ba7477514f9e5bac7b26d67ed7
Parent
96f3e8392275dc2…
2 files changed
+1
-1
+1
-1
+1
-1
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -951,11 +951,11 @@ | ||
| 951 | 951 | @ <blockquote> |
| 952 | 952 | onoff_attribute("Require mouse movement before enabling hyperlinks", |
| 953 | 953 | "auto-hyperlink-mouseover", "ahmo", 0); |
| 954 | 954 | @ <br> |
| 955 | 955 | entry_attribute("Delay before enabling hyperlinks (milliseconds)", 5, |
| 956 | - "auto-hyperlink-delay", "ah-delay", "0"); | |
| 956 | + "auto-hyperlink-delay", "ah-delay", "10"); | |
| 957 | 957 | @ </blockquote> |
| 958 | 958 | @ <p>Hyperlinks for user "nobody" are normally enabled as soon as the page |
| 959 | 959 | @ finishes loading. But the first check-box below can be set to require mouse |
| 960 | 960 | @ movement before enabling the links. One can also set a delay prior to enabling |
| 961 | 961 | @ links by enter a positive number of milliseconds in the entry box above.</p> |
| 962 | 962 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -951,11 +951,11 @@ | |
| 951 | @ <blockquote> |
| 952 | onoff_attribute("Require mouse movement before enabling hyperlinks", |
| 953 | "auto-hyperlink-mouseover", "ahmo", 0); |
| 954 | @ <br> |
| 955 | entry_attribute("Delay before enabling hyperlinks (milliseconds)", 5, |
| 956 | "auto-hyperlink-delay", "ah-delay", "0"); |
| 957 | @ </blockquote> |
| 958 | @ <p>Hyperlinks for user "nobody" are normally enabled as soon as the page |
| 959 | @ finishes loading. But the first check-box below can be set to require mouse |
| 960 | @ movement before enabling the links. One can also set a delay prior to enabling |
| 961 | @ links by enter a positive number of milliseconds in the entry box above.</p> |
| 962 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -951,11 +951,11 @@ | |
| 951 | @ <blockquote> |
| 952 | onoff_attribute("Require mouse movement before enabling hyperlinks", |
| 953 | "auto-hyperlink-mouseover", "ahmo", 0); |
| 954 | @ <br> |
| 955 | entry_attribute("Delay before enabling hyperlinks (milliseconds)", 5, |
| 956 | "auto-hyperlink-delay", "ah-delay", "10"); |
| 957 | @ </blockquote> |
| 958 | @ <p>Hyperlinks for user "nobody" are normally enabled as soon as the page |
| 959 | @ finishes loading. But the first check-box below can be set to require mouse |
| 960 | @ movement before enabling the links. One can also set a delay prior to enabling |
| 961 | @ links by enter a positive number of milliseconds in the entry box above.</p> |
| 962 |
+1
-1
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -160,11 +160,11 @@ | ||
| 160 | 160 | /* |
| 161 | 161 | ** Generate javascript that will set the href= attribute on all anchors. |
| 162 | 162 | */ |
| 163 | 163 | void style_resolve_href(void){ |
| 164 | 164 | int i; |
| 165 | - int nDelay = db_get_int("auto-hyperlink-delay",0); | |
| 165 | + int nDelay = db_get_int("auto-hyperlink-delay",10); | |
| 166 | 166 | if( !g.perm.Hyperlink ) return; |
| 167 | 167 | if( nHref==0 && nFormAction==0 ) return; |
| 168 | 168 | @ <script type="text/JavaScript"> |
| 169 | 169 | @ /* <![CDATA[ */ |
| 170 | 170 | @ function setAllHrefs(){ |
| 171 | 171 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -160,11 +160,11 @@ | |
| 160 | /* |
| 161 | ** Generate javascript that will set the href= attribute on all anchors. |
| 162 | */ |
| 163 | void style_resolve_href(void){ |
| 164 | int i; |
| 165 | int nDelay = db_get_int("auto-hyperlink-delay",0); |
| 166 | if( !g.perm.Hyperlink ) return; |
| 167 | if( nHref==0 && nFormAction==0 ) return; |
| 168 | @ <script type="text/JavaScript"> |
| 169 | @ /* <![CDATA[ */ |
| 170 | @ function setAllHrefs(){ |
| 171 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -160,11 +160,11 @@ | |
| 160 | /* |
| 161 | ** Generate javascript that will set the href= attribute on all anchors. |
| 162 | */ |
| 163 | void style_resolve_href(void){ |
| 164 | int i; |
| 165 | int nDelay = db_get_int("auto-hyperlink-delay",10); |
| 166 | if( !g.perm.Hyperlink ) return; |
| 167 | if( nHref==0 && nFormAction==0 ) return; |
| 168 | @ <script type="text/JavaScript"> |
| 169 | @ /* <![CDATA[ */ |
| 170 | @ function setAllHrefs(){ |
| 171 |