From b16abef44eda4120424ef75394d77b278d344a3a Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 21 Feb 2015 16:19:14 +0530 Subject: [PATCH] update user script placeholder text --- static/js/scriptDialog.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/js/scriptDialog.js b/static/js/scriptDialog.js index 95bf8d26..66d0a93d 100644 --- a/static/js/scriptDialog.js +++ b/static/js/scriptDialog.js @@ -9,9 +9,10 @@ pandora.ui.scriptDialog = function() { $input = Ox.Input({ height: dialogHeight - 32, id: 'onload', - placeholder: Ox._('/*\nAny JavaScript you paste here will run on load.\n' - + 'If you ever need to manually change or remove it, ' - + 'you can do so by pandora.UI.set({onload: ""}) in the console.\n*/'), + placeholder: Ox._( + '/*\nAny JavaScript you paste here will run on load.\n' + + 'If you ever need to bypass it, press escape while the site is loading.\n*/' + ), type: 'textarea', value: pandora.user.script || '', width: dialogWidth - 32