diff --git a/public/src/admin/modules/search.js b/public/src/admin/modules/search.js index dec438165d..781f4ade9e 100644 --- a/public/src/admin/modules/search.js +++ b/public/src/admin/modules/search.js @@ -103,11 +103,17 @@ define(function() { if (menuItems.html() !== '') { menuItems.append(''); + } else { + menuItems.append('
  • No results...
  • '); } } if (value.length > 0) { - menuItems.append('
  • Search the forum for ' + value + '
  • '); + if (config.searchEnabled) { + menuItems.append('
  • Search the forum for ' + value + '
  • '); + } else if (value.length < 3) { + menuItems.append('
  • Type more to see results...
  • '); + } } else { menuItems.append('
  • Start typing to see results...
  • '); }