From 38c7ed1bc119bde334c3f401e3b21f80609a9aea Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 25 Aug 2017 20:50:15 +0300 Subject: [PATCH] prevent text selection upon click outside of messageBox --- msgbox/msgbox.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/msgbox/msgbox.css b/msgbox/msgbox.css index dc83e1e0..afd3af50 100644 --- a/msgbox/msgbox.css +++ b/msgbox/msgbox.css @@ -9,6 +9,7 @@ background-color: rgba(0, 0, 0, .25); animation: fadein .25s ease-in-out; z-index: 9999990; + -moz-user-select: none; } #message-box > div { @@ -24,6 +25,7 @@ background-color: white; box-shadow: 5px 5px 50px rgba(0, 0, 0, 0.35); z-index: 9999991; + -moz-user-select: text; } #message-box.fadeout {