From d56bce3596a6d06e59eceaa0336aa0ea46ab7858 Mon Sep 17 00:00:00 2001 From: timb Date: Wed, 5 Aug 2015 10:20:10 -0700 Subject: hide save ui in load mode --- js/clipboard.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'js') diff --git a/js/clipboard.js b/js/clipboard.js index 6016678..d6e5c4e 100644 --- a/js/clipboard.js +++ b/js/clipboard.js @@ -41,15 +41,17 @@ var clipboard = (function () { import_mode: function () { focus() clipboard.importing = true - import_buttons.style.display = "inline-block" - export_button.style.display = format_group.style.display = "none" + gallery_wrapper.style.display = 'none' + format_el.style.display = 'none' + import_buttons.style.display = "inline" import_textarea.value = "" }, export_mode: function () { focus() clipboard.importing = false import_buttons.style.display = "none" - // export_button.style.display = format_group.style.display = "inline-block" + format_el.style.display = 'inline' + gallery_wrapper.style.display = 'inline' clipboard.export_data() }, -- cgit v1.2.3-70-g09d2