diff --git a/LICENSE b/LICENSE index b5c1a25f9..f79075c03 100755 --- a/LICENSE +++ b/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. * https://github.com/ccd0/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 202abf04c..da4ec0120 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -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; diff --git a/builds/crx/script.js b/builds/crx/script.js index 5d58fa0ce..012e2cae5 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -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; diff --git a/css/style.css b/css/style.css index 70416a561..c65b2076c 100644 --- a/css/style.css +++ b/css/style.css @@ -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, diff --git a/src/General/Build.coffee b/src/General/Build.coffee index a8395002a..86bbdeb22 100755 --- a/src/General/Build.coffee +++ b/src/General/Build.coffee @@ -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