Use less pointer-events (for Opera's sake)

This commit is contained in:
Ansis Brammanis
2013-01-10 16:08:58 -05:00
parent ce9a3af01c
commit 700520c6f6
2 changed files with 2 additions and 3 deletions

View File

@@ -935,7 +935,6 @@ div.typeahead a:first-child {
------------------------------------------------------- */
.notice {
pointer-events: none;
position:absolute;
top:11px;
left:11px;

View File

@@ -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;