From 44eeeeebaacc1112c47ddd18adc3d3f98d955b11 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Wed, 9 Jan 2013 11:38:45 -0500 Subject: [PATCH] Quick flash of no-docs for non-documented tag pairs. Fixes #340 --- index.html | 1 + js/id/ui/inspector.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/index.html b/index.html index ebda51ebe..e44acbd39 100644 --- a/index.html +++ b/index.html @@ -50,6 +50,7 @@ + diff --git a/js/id/ui/inspector.js b/js/id/ui/inspector.js index 6ad48acc5..85fa70e68 100644 --- a/js/id/ui/inspector.js +++ b/js/id/ui/inspector.js @@ -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();