mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Quick flash of no-docs for non-documented tag pairs. Fixes #340
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
<script src='js/id/ui/geocoder.js'></script>
|
||||
<script src='js/id/ui/geolocate.js'></script>
|
||||
<script src='js/id/ui/notice.js'></script>
|
||||
<script src='js/id/ui/flash.js'></script>
|
||||
<script src='js/id/ui/tag_reference.js'></script>
|
||||
|
||||
<script src='js/id/actions.js'></script>
|
||||
|
||||
@@ -155,6 +155,10 @@ iD.Inspector = function() {
|
||||
mod.select('.content')
|
||||
.datum(en)
|
||||
.call(iD.tagReference);
|
||||
} else {
|
||||
var mod = iD.flash()
|
||||
.select('.content')
|
||||
.text('This is no documentation available for this tag combination');
|
||||
}
|
||||
});
|
||||
d3.event.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user