diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index 1342f76488..e62ea93fe0 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -16,6 +16,7 @@
(function( $, undefined ) {
$.widget( "ui.autocomplete", {
+ defaultElement: "",
options: {
appendTo: "body",
delay: 300,
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js
index b1d060a42e..8f63ec57a6 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -43,6 +43,7 @@ var lastActive,
};
$.widget( "ui.button", {
+ defaultElement: "