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!'); } /*