Fossil SCM
Switched Immediately-Invoked Function Expression parentheses from Crockford-style to the more conventional/portable style. See https://stackoverflow.com/questions/9053842/ for details.
Commit
5d9d62d8188187a44cd2d578b6d825c4e8e745b29bff01c62bdd8c4f16f19a2f
Parent
611fe9b078d3774…
1 file changed
+1
-1
+1
-1
| --- src/forum.js | ||
| +++ src/forum.js | ||
| @@ -14,6 +14,6 @@ | ||
| 14 | 14 | var h = x[0].scrollHeight; |
| 15 | 15 | var y = absoluteY(x[0]); |
| 16 | 16 | if( w>h ) y = y + (h-w)/2; |
| 17 | 17 | if( y>0 ) window.scrollTo(0, y); |
| 18 | 18 | } |
| 19 | -}()) | |
| 19 | +})() | |
| 20 | 20 |
| --- src/forum.js | |
| +++ src/forum.js | |
| @@ -14,6 +14,6 @@ | |
| 14 | var h = x[0].scrollHeight; |
| 15 | var y = absoluteY(x[0]); |
| 16 | if( w>h ) y = y + (h-w)/2; |
| 17 | if( y>0 ) window.scrollTo(0, y); |
| 18 | } |
| 19 | }()) |
| 20 |
| --- src/forum.js | |
| +++ src/forum.js | |
| @@ -14,6 +14,6 @@ | |
| 14 | var h = x[0].scrollHeight; |
| 15 | var y = absoluteY(x[0]); |
| 16 | if( w>h ) y = y + (h-w)/2; |
| 17 | if( y>0 ) window.scrollTo(0, y); |
| 18 | } |
| 19 | })() |
| 20 |