From c81d6f028552afe963836afa610989789b58beba Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 10 Jan 2014 11:34:41 -0500 Subject: [PATCH] fix(dom) selectByPattern: show message if not esc --- lib/client/dom.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/client/dom.js b/lib/client/dom.js index 9da9dbb2..a15e3ece 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -1235,10 +1235,10 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; } } while (current); + + if (!matches) + Dialog.alert('No matches found!'); } - - if (!matches) - Dialog.alert('No matches found!'); } /*