mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Use less pointer-events (for Opera's sake)
This commit is contained in:
@@ -935,7 +935,6 @@ div.typeahead a:first-child {
|
||||
------------------------------------------------------- */
|
||||
|
||||
.notice {
|
||||
pointer-events: none;
|
||||
position:absolute;
|
||||
top:11px;
|
||||
left:11px;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user