Conflicts:
	LICENSE
	builds/4chan-X.user.js
	builds/crx/script.js
This commit is contained in:
Zixaphir 2014-01-13 13:11:19 -07:00
commit 4da7bd827d
10 changed files with 46 additions and 55 deletions

View File

@ -1,3 +1,9 @@
### v1.3.2
*2014-01-12*
**seaweedchan**:
- Fix Menu errors on older Firefox versions, such as the ESR
### v1.3.1 ### v1.3.1
*2014-01-12* *2014-01-12*

View File

@ -1,5 +1,5 @@
/* /*
* 4chan X - Version 1.3.1 - 2014-01-13 * 4chan X - Version 1.3.2 - 2014-01-13
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.3.1 // @version 1.3.2
// @minGMVer 1.13 // @minGMVer 1.13
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "4chan X", "name": "4chan X",
"version": "1.3.1", "version": "1.3.2",
"manifest_version": 2, "manifest_version": 2,
"description": "Cross-browser userscript for maximum lurking on 4chan.", "description": "Cross-browser userscript for maximum lurking on 4chan.",
"icons": { "icons": {

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
postMessage({version:'1.3.1'},'*') postMessage({version:'1.3.2'},'*')

View File

@ -1,6 +1,6 @@
{ {
"name": "4chan-X", "name": "4chan-X",
"version": "1.3.1", "version": "1.3.2",
"description": "Cross-browser userscript for maximum lurking on 4chan.", "description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": { "meta": {
"name": "4chan X", "name": "4chan X",

View File

@ -1110,7 +1110,7 @@ a:only-of-type > .remove {
.reply .menu-button, .reply .menu-button,
.op .menu-button, .op .menu-button,
#thread-watcher .menu-button { #thread-watcher .menu-button {
margin-left: -5px !important; margin-left: -1px !important;
position: relative; position: relative;
} }
.op .menu-button, .op .menu-button,

View File

@ -14,19 +14,14 @@ Menu =
$.add @nodes.info, Menu.makeButton() $.add @nodes.info, Menu.makeButton()
makeButton: do -> makeButton: do ->
frag = null a = $.el 'a',
className: 'menu-button'
innerHTML: '<i class="fa fa-angle-down"></i>'
href: 'javascript:;'
-> ->
unless frag? button = a.cloneNode true
frag = $.nodes [ $.on button, 'click', Menu.toggle
$.tn(' ') button
$.el 'a',
className: 'menu-button'
innerHTML: '<i class="fa fa-angle-down"></i>'
href: 'javascript:;'
]
clone = frag.cloneNode true
$.on clone.lastElementChild, 'click', Menu.toggle
clone
toggle: (e) -> toggle: (e) ->
post = Get.postFromNode @ post = Get.postFromNode @