Merge branch 'mayhem' into v3
Conflicts: CHANGELOG.md package.json
This commit is contained in:
commit
871d7820b7
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.7.8 - 2014-04-19
|
* 4chan X - Version 1.7.8 - 2014-04-20
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.7.8 - 2014-04-19
|
* 4chan X - Version 1.7.8 - 2014-04-20
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||||
@ -3765,6 +3765,9 @@
|
|||||||
if (href[0] === '/') {
|
if (href[0] === '/') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (href[0] === '#') {
|
||||||
|
href = "" + threadID + href;
|
||||||
|
}
|
||||||
quote.href = "/" + boardID + "/thread/" + href;
|
quote.href = "/" + boardID + "/thread/" + href;
|
||||||
}
|
}
|
||||||
return container;
|
return container;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.7.8 - 2014-04-19
|
* 4chan X - Version 1.7.8 - 2014-04-20
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||||
@ -3824,6 +3824,9 @@
|
|||||||
if (href[0] === '/') {
|
if (href[0] === '/') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (href[0] === '#') {
|
||||||
|
href = "" + threadID + href;
|
||||||
|
}
|
||||||
quote.href = "/" + boardID + "/thread/" + href;
|
quote.href = "/" + boardID + "/thread/" + href;
|
||||||
}
|
}
|
||||||
return container;
|
return container;
|
||||||
|
|||||||
@ -105,7 +105,7 @@ a[href="javascript:;"] {
|
|||||||
:root.bottom-header body {
|
:root.bottom-header body {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
body > .desktop,
|
body > .desktop:not(#boardNavDesktop):not(#boardNavDesktopFoot),
|
||||||
:root.fourchan-x #navtopright,
|
:root.fourchan-x #navtopright,
|
||||||
:root.fourchan-x #navbotright,
|
:root.fourchan-x #navbotright,
|
||||||
:root.fourchan-x:not(.show-original-top-board-list) #boardNavDesktop,
|
:root.fourchan-x:not(.show-original-top-board-list) #boardNavDesktop,
|
||||||
|
|||||||
@ -228,6 +228,7 @@ Build =
|
|||||||
for quote in $$ '.quotelink', container
|
for quote in $$ '.quotelink', container
|
||||||
href = quote.getAttribute 'href'
|
href = quote.getAttribute 'href'
|
||||||
continue if href[0] is '/' # Cross-board quote, or board link
|
continue if href[0] is '/' # Cross-board quote, or board link
|
||||||
|
href = "#{threadID}#{href}" if href[0] is '#'
|
||||||
quote.href = "/#{boardID}/thread/#{href}" # Fix pathnames
|
quote.href = "/#{boardID}/thread/#{href}" # Fix pathnames
|
||||||
|
|
||||||
container
|
container
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user