Merge branch 'mayhem' into v3

Conflicts:
	CHANGELOG.md
	package.json
This commit is contained in:
Zixaphir 2014-04-20 07:14:29 -07:00
commit 871d7820b7
5 changed files with 11 additions and 4 deletions

View File

@ -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.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE

View File

@ -24,7 +24,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.7.8 - 2014-04-19
* 4chan X - Version 1.7.8 - 2014-04-20
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -3765,6 +3765,9 @@
if (href[0] === '/') {
continue;
}
if (href[0] === '#') {
href = "" + threadID + href;
}
quote.href = "/" + boardID + "/thread/" + href;
}
return container;

View File

@ -1,6 +1,6 @@
// 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.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -3824,6 +3824,9 @@
if (href[0] === '/') {
continue;
}
if (href[0] === '#') {
href = "" + threadID + href;
}
quote.href = "/" + boardID + "/thread/" + href;
}
return container;

View File

@ -105,7 +105,7 @@ a[href="javascript:;"] {
:root.bottom-header body {
margin-bottom: 2em;
}
body > .desktop,
body > .desktop:not(#boardNavDesktop):not(#boardNavDesktopFoot),
:root.fourchan-x #navtopright,
:root.fourchan-x #navbotright,
:root.fourchan-x:not(.show-original-top-board-list) #boardNavDesktop,

View File

@ -228,6 +228,7 @@ Build =
for quote in $$ '.quotelink', container
href = quote.getAttribute 'href'
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
container