From 47e8be1681fe14611fd06ae32f2b94f6db6ea42c Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 21 Sep 2016 15:03:36 +0200 Subject: [PATCH] Remove the IMPORT button and editor toolbars in read-only mode --- www/code/main.js | 69 +++++++++++++++++++++------------------ www/pad/main.js | 84 ++++++++++++++++++++++++++---------------------- 2 files changed, 84 insertions(+), 69 deletions(-) diff --git a/www/code/main.js b/www/code/main.js index e8e7958a6..9841f4511 100644 --- a/www/code/main.js +++ b/www/code/main.js @@ -305,38 +305,40 @@ define([ .click(exportText); $rightside.append($export); - /* add an import button */ - var $import = $('