diff --git a/js/jquery.fastautocomplete.js b/js/jquery.fastautocomplete.js
index 346efa9..5403b0e 100644
--- a/js/jquery.fastautocomplete.js
+++ b/js/jquery.fastautocomplete.js
@@ -89,23 +89,26 @@
           seeAllLink.appendTo(resultList);
         }
 
-        // Add the empty result text.
-        var emptyResults = $('<div>').attr({
-          'class': 'empty-result'
-        });
-        emptyResults.html(settings.emptyResult);
-        emptyResults.find('a').each(function() {
-          $(this).bind('mousedown', function (e) {
-            e.preventDefault();
-            switch (e.which) {
-              // Left mouse click.
-              case 1:
-                window.location = $(this).attr('href');
-                break;
-            }
+        if (settings.emptyResult) {
+          // Add the empty result text.
+          var emptyResults = $('<div>').attr({
+            'class': 'empty-result'
           });
-        });
-        emptyResults.appendTo(facResult);
+          emptyResults.html(settings.emptyResult);
+          emptyResults.find('a').each(function() {
+            $(this).bind('mousedown', function (e) {
+              e.preventDefault();
+              switch (e.which) {
+                // Left mouse click.
+                case 1:
+                  window.location = $(this).attr('href');
+                  break;
+              }
+            });
+          });
+          emptyResults.appendTo(facResult);
+        }
+
         var form = $(this).closest('form');
         if (settings.resultLocation) {
           facResult.appendTo(settings.resultLocation);
