Messing around with some syntax
This commit is contained in:
parent
abf3da2482
commit
9262e8a7af
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* 4chan X - Version 1.2.44 - 2013-12-25
|
||||
* 4chan X - Version 1.2.44 - 2013-12-26
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* 4chan X - Version 1.2.44 - 2013-12-25
|
||||
* 4chan X - Version 1.2.44 - 2013-12-26
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// Generated by CoffeeScript
|
||||
/*
|
||||
* 4chan X - Version 1.2.44 - 2013-12-25
|
||||
* 4chan X - Version 1.2.44 - 2013-12-26
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
|
||||
|
||||
@ -51,7 +51,15 @@ PostHiding =
|
||||
return false
|
||||
PostHiding.menu.post = post
|
||||
true
|
||||
subEntries: [{el: apply}, {el: thisPost}, {el: replies}, {el: makeStub}]
|
||||
subEntries: [
|
||||
el: apply
|
||||
,
|
||||
el: thisPost
|
||||
,
|
||||
el: replies
|
||||
,
|
||||
el: makeStub
|
||||
]
|
||||
|
||||
# Show
|
||||
div = $.el 'div',
|
||||
@ -85,7 +93,13 @@ PostHiding =
|
||||
thisPost.firstChild.checked = post.isHidden
|
||||
replies.firstChild.checked = if data?.hideRecursively? then data.hideRecursively else Conf['Recursive Hiding']
|
||||
true
|
||||
subEntries: [{el: apply}, {el: thisPost}, {el: replies}]
|
||||
subEntries: [
|
||||
el: apply
|
||||
,
|
||||
el: thisPost
|
||||
,
|
||||
el: replies
|
||||
]
|
||||
|
||||
$.event 'AddMenuEntry',
|
||||
type: 'post'
|
||||
|
||||
@ -68,15 +68,23 @@ Header =
|
||||
textContent: 'Header'
|
||||
order: 107
|
||||
subEntries: [
|
||||
{el: barFixedToggler}
|
||||
{el: headerToggler}
|
||||
{el: scrollHeaderToggler}
|
||||
{el: barPositionToggler}
|
||||
{el: linkJustifyToggler}
|
||||
{el: footerToggler}
|
||||
{el: shortcutToggler}
|
||||
{el: customNavToggler}
|
||||
{el: editCustomNav}
|
||||
el: barFixedToggler
|
||||
,
|
||||
el: headerToggler
|
||||
,
|
||||
el: scrollHeaderToggler
|
||||
,
|
||||
el: barPositionToggler
|
||||
,
|
||||
el: linkJustifyToggler
|
||||
,
|
||||
el: footerToggler
|
||||
,
|
||||
el: shortcutToggler
|
||||
,
|
||||
el: customNavToggler
|
||||
,
|
||||
el: editCustomNav
|
||||
]
|
||||
|
||||
$.on window, 'load hashchange', Header.hashScroll
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user