From 1f830b96b55df5553081234ccfc94d4676d6a5e5 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Thu, 24 Jun 2021 21:05:32 +1200 Subject: [PATCH] Inital pass at getting `brew.style` to apply when accessing `/print` from `/new` without saving. --- client/homebrew/pages/newPage/newPage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/homebrew/pages/newPage/newPage.jsx b/client/homebrew/pages/newPage/newPage.jsx index 14f14a987..e06381c80 100644 --- a/client/homebrew/pages/newPage/newPage.jsx +++ b/client/homebrew/pages/newPage/newPage.jsx @@ -181,7 +181,7 @@ const NewPage = createClass({ }, print : function(){ - localStorage.setItem('print', this.state.brew.text); + localStorage.setItem('print', `\n\n${this.state.brew.text}`); window.open('/print?dialog=true&local=print', '_blank'); },