diff --git a/static/css/pad.css b/static/css/pad.css index 99a4268ea..163adc7cd 100644 --- a/static/css/pad.css +++ b/static/css/pad.css @@ -1072,3 +1072,16 @@ margin-top: 1px; { width:27px !important; } + +#focusprotector +{ + z-index: 100; + position: absolute; + bottom: 0px; + top: 0px; + left: 0px; + right: 0px; + background-color: white; + opacity:0.01; + display:none; +} diff --git a/static/js/chat.js b/static/js/chat.js index e3cfd5ad6..f617bdb32 100644 --- a/static/js/chat.js +++ b/static/js/chat.js @@ -15,11 +15,11 @@ var chat = (function() handles: 'nw', start: function (event, ui) { - $("#editorcontainer").hide(); + $("#focusprotector").show(); }, stop: function (event, ui) { - $("#editorcontainer").show(); + $("#focusprotector").hide(); $("#chatbox").css({right: "20px", bottom: "0px", left: "", top: ""}); diff --git a/static/pad.html b/static/pad.html index 72703331a..65944eee4 100644 --- a/static/pad.html +++ b/static/pad.html @@ -265,10 +265,13 @@ Use this link to share a read-only version of your pad: +