From 2d3f3998deeacbd1c6ffaab6d7e707e96a96e307 Mon Sep 17 00:00:00 2001 From: ksamuel Date: Wed, 12 Aug 2020 17:34:19 +0200 Subject: [PATCH] Fix favicon 404 in dev --- zerobin/static/js/behavior.js | 8 -------- zerobin/views/base.tpl | 3 ++- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/zerobin/static/js/behavior.js b/zerobin/static/js/behavior.js index 1789dbf..4fb8145 100644 --- a/zerobin/static/js/behavior.js +++ b/zerobin/static/js/behavior.js @@ -18,13 +18,7 @@ setTimeout(function () { document.getElementById('content').focus() }, 100) -// Parse obfuscaded emails and make them usable -const menu = new Vue({ - el: "#menu-top", - methods: { - } -}) const app = new Vue({ @@ -829,7 +823,6 @@ window.onload = function () { }) } - } /* Display previous pastes */ @@ -849,7 +842,6 @@ if (app.support.fileUpload) { } - /* Autofit text area height */ const tx = document.getElementsByTagName('textarea'); for (let i = 0; i < tx.length; i++) { diff --git a/zerobin/views/base.tpl b/zerobin/views/base.tpl index 93e385a..99e6214 100644 --- a/zerobin/views/base.tpl +++ b/zerobin/views/base.tpl @@ -9,7 +9,8 @@ pastebin featuring burn after reading, history, and a clipboard"> - + + %if settings.COMPRESSED_STATIC_FILES: