Merge branch 'master' of https://github.com/seaweedchan/4chan-x into v3
This commit is contained in:
commit
558cbc7364
@ -7,6 +7,9 @@ MayhemYDG:
|
||||
seaweedchan:
|
||||
- Turn all brackets into pseudo-elements. Brackets can be changed by overwriting the `content` of `.fourchanx-link::before` (`[`) and `.fourchanx-link::after` (`]`), or removed entirely with ease.
|
||||
- Note: This does not change the default brackets around `toggle-all` in the custom navigation. These are up to the user.
|
||||
- Fix file input in Opera
|
||||
- External link support in Custom Board Navigation!
|
||||
- `external-text:"Google","http://www.google.com"`
|
||||
|
||||
### 1.1.18 - 2013-05-09
|
||||
seaweedchan:
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -132,7 +132,7 @@ Header =
|
||||
$.rmAll list
|
||||
return unless text
|
||||
as = $$('#full-board-list a', Header.bar)
|
||||
nodes = text.match(/[\w@]+(-(all|title|replace|full|index|catalog|text:"[^"]+"))*|[^\w@]+/g).map (t) ->
|
||||
nodes = text.match(/[\w@]+((-(all|title|replace|full|index|catalog|url:"[^"]+[^"]"|text:"[^"]+")|\,"[^"]+[^"]"))*|[^\w@]+/g).map (t) ->
|
||||
if /^[^\w@]/.test t
|
||||
return $.tn t
|
||||
if /^toggle-all/.test t
|
||||
@ -142,6 +142,12 @@ Header =
|
||||
href: 'javascript:;'
|
||||
$.on a, 'click', Header.toggleBoardList
|
||||
return a
|
||||
if /^external/.test t
|
||||
a = $.el 'a',
|
||||
href: (t.match(/\,"(.+)"/) || [null, '+'])[1]
|
||||
textContent: (t.match(/-text:"(.+)"\,/) || [null, '+'])[1]
|
||||
className: 'external'
|
||||
return a
|
||||
board = if /^current/.test t
|
||||
g.BOARD.ID
|
||||
else
|
||||
|
||||
@ -754,7 +754,8 @@ input.field.tripped:not(:hover):not(:focus) {
|
||||
height: 23px;
|
||||
}
|
||||
#qr input[type=file] {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
position: absolute;
|
||||
}
|
||||
/* Thread Select / Spoiler Label */
|
||||
#qr select {
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
<div>Custom text link: <code>board-text:"VIP Board"</code></div>
|
||||
<div>Index-only link: <code>board-index</code></div>
|
||||
<div>Catalog-only link: <code>board-catalog</code></div>
|
||||
<div>External link: <code>external-text:"Google","http://www.google.com"</code></div>
|
||||
<div>Combinations are possible: <code>board-index-text:"VIP Index"</code></div>
|
||||
<div>Full board list toggle: <code>toggle-all</code></div>
|
||||
</fieldset>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user