From 19c8ffe4d6b12c29f65092fff06bcf9b7fe6621a Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Wed, 15 Jan 2014 17:10:46 -0700 Subject: [PATCH] Cruft --- builds/4chan-X.user.js | 3 +-- builds/crx/script.js | 3 +-- src/General/Navigate.coffee | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index a4c60ab83..41e174d6f 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -12123,7 +12123,7 @@ if (subtitle = $('.boardSubtitle')) { $.rm(subtitle); } - return $('.boardTitle').textContent = d.title = "" + board + " = " + title; + return $('.boardTitle').textContent = d.title = "" + board + " - " + title; }, navigate: function(e) { var boardID, load, pageNum, path, threadID, view; @@ -12204,7 +12204,6 @@ new Notice('warning', "Failed to load thread." + (req.status ? " " + req.status : '')); return; } - Navigate.title(); try { return Navigate.parse(JSON.parse(req.response).posts); } catch (_error) { diff --git a/builds/crx/script.js b/builds/crx/script.js index f3684733a..982ed9780 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -12112,7 +12112,7 @@ if (subtitle = $('.boardSubtitle')) { $.rm(subtitle); } - return $('.boardTitle').textContent = d.title = "" + board + " = " + title; + return $('.boardTitle').textContent = d.title = "" + board + " - " + title; }, navigate: function(e) { var boardID, load, pageNum, path, threadID, view; @@ -12193,7 +12193,6 @@ new Notice('warning', "Failed to load thread." + (req.status ? " " + req.status : '')); return; } - Navigate.title(); try { return Navigate.parse(JSON.parse(req.response).posts); } catch (_error) { diff --git a/src/General/Navigate.coffee b/src/General/Navigate.coffee index bea89a0f5..6728b50ed 100644 --- a/src/General/Navigate.coffee +++ b/src/General/Navigate.coffee @@ -170,7 +170,7 @@ Navigate = updateTitle: ({board, title}) -> $.rm subtitle if subtitle = $ '.boardSubtitle' - $('.boardTitle').textContent = d.title = "#{board} = #{title}" + $('.boardTitle').textContent = d.title = "#{board} - #{title}" navigate: (e) -> return if @hostname isnt 'boards.4chan.org' or window.location.hostname is 'rs.4chan.org' or @@ -240,8 +240,6 @@ Navigate = new Notice 'warning', "Failed to load thread.#{if req.status then " #{req.status}" else ''}" return - Navigate.title() - try Navigate.parse JSON.parse(req.response).posts catch err