From fde01e20f16fa637ce51e9618f6b533771be0221 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 21 May 2020 12:26:58 -0700 Subject: [PATCH] Revert "Add link on recently-departed Samachan to proposed move to SushiChan." This reverts commit 60976ccde9c5a1113cf18ab2613b74f46c055241. --- src/Miscellaneous/PSA.coffee | 10 ---------- src/main/Main.coffee | 2 -- 2 files changed, 12 deletions(-) diff --git a/src/Miscellaneous/PSA.coffee b/src/Miscellaneous/PSA.coffee index b4b747dd8..9d9da56cf 100644 --- a/src/Miscellaneous/PSA.coffee +++ b/src/Miscellaneous/PSA.coffee @@ -7,13 +7,3 @@ PSA = el = $.el 'div', {className: 'fcx-announcement'}, announcement $.onExists doc, '.boardBanner', (banner) -> $.after banner, el - - site: -> - if location.hostname is 'samachan.org' - $.onExists doc, '.navbar', (navbar) -> - link = $.el 'a', - href: 'https://sushigirl.us/yakuza/res/776.html' - target: '_blank' - rel: 'noopener' - textContent: 'Looking for a new home? Some users are regrouping on SushiChan. (a message from 4chan X)' - $.add navbar, [$.el('br'), link] diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 246b57a8d..0e79a5d73 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -125,8 +125,6 @@ Main = for key, val of Conf Conf[key] = items[key] ? val - try - PSA.site() Site.init Main.initFeatures upgrade: (items) ->