From 700520c6f6a44719bd4dc0ca95e61a24ef0fcae0 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Thu, 10 Jan 2013 16:08:58 -0500 Subject: [PATCH] Use less pointer-events (for Opera's sake) --- css/app.css | 1 - js/id/ui/notice.js | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/css/app.css b/css/app.css index 2821fcffa..946c83ef3 100644 --- a/css/app.css +++ b/css/app.css @@ -935,7 +935,6 @@ div.typeahead a:first-child { ------------------------------------------------------- */ .notice { - pointer-events: none; position:absolute; top:11px; left:11px; diff --git a/js/id/ui/notice.js b/js/id/ui/notice.js index 5467e3745..88669d5d6 100644 --- a/js/id/ui/notice.js +++ b/js/id/ui/notice.js @@ -9,14 +9,14 @@ iD.notice = function(selection) { selection .text(_) .transition() - .style('opacity', 1); + .style('display', 'auto'); } else if (_ && message !== _) { selection.text(_); } else if (!_) { selection .text('') .transition() - .style('opacity', 0); + .style('display', 'none'); } message = _; return notice;