update user script placeholder text

This commit is contained in:
rolux 2015-02-21 16:19:14 +05:30
parent 5004dfe1de
commit b16abef44e

View file

@ -9,9 +9,10 @@ pandora.ui.scriptDialog = function() {
$input = Ox.Input({ $input = Ox.Input({
height: dialogHeight - 32, height: dialogHeight - 32,
id: 'onload', id: 'onload',
placeholder: Ox._('/*\nAny JavaScript you paste here will run on load.\n' placeholder: Ox._(
+ 'If you ever need to manually change or remove it, ' '/*\nAny JavaScript you paste here will run on load.\n'
+ 'you can do so by pandora.UI.set({onload: ""}) in the console.\n*/'), + 'If you ever need to bypass it, press escape while the site is loading.\n*/'
),
type: 'textarea', type: 'textarea',
value: pandora.user.script || '', value: pandora.user.script || '',
width: dialogWidth - 32 width: dialogWidth - 32