diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-30 20:34:08 +0400 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-30 20:34:08 +0400 |
commit | 9cf3d930bc12dedfe921d01bf7034678d42f99d0 (patch) | |
tree | c94be05e01884c6efbc2a09195a4ad11ad053b8f /js | |
parent | ce4e827a2b0f40409a56bfb424646a538de31cd6 (diff) |
change 'Close' label to x icon to save space
Diffstat (limited to 'js')
-rw-r--r-- | js/editor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/editor.js b/js/editor.js index 5095c91..df40d47 100644 --- a/js/editor.js +++ b/js/editor.js @@ -71,8 +71,8 @@ function showControls(dir, filename, writeable) { } editorbarhtml += '<label for="editorseachval">' + t('files_texteditor', 'Search'); editorbarhtml += '</label><input type="text" name="editorsearchval" id="editorsearchval">'; - editorbarhtml += '<button id="editor_close">'; - editorbarhtml += t('files_texteditor', 'Close') + '</button></div>'; + editorbarhtml += '<button id="editor_close" class="icon-close"></button>'; + editorbarhtml += '</div>'; $('#controls').append(editorbarhtml); $('#editorcontrols').show(); |