Commit e55240f1 authored by dpapad's avatar dpapad Committed by Commit Bot

WebUI cr-dialog: Prevent text from being selected when clicking backdrop.

Bug: 742727
Change-Id: Ia6bacffad903f7fd9d5a9e7d460dde293214b671
Reviewed-on: https://chromium-review.googlesource.com/572205Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487201}
parent 2ccdc0b4
...@@ -222,5 +222,9 @@ Polymer({ ...@@ -222,5 +222,9 @@ Polymer({
easing: 'ease-in-out', easing: 'ease-in-out',
iterations: 1, iterations: 1,
})); }));
// Prevent any text from being selected within the dialog when clicking in
// the backdrop area.
e.preventDefault();
}, },
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment