diff --git a/jquery.dynatable.js b/jquery.dynatable.js
index d08aba3..e97116f 100644
--- a/jquery.dynatable.js
+++ b/jquery.dynatable.js
@@ -1248,7 +1248,7 @@
'data-dynatable-query': 'search',
value: settings.dataset.queries.search
}),
- $searchSpan = $('', {
+ $searchLabel = $('', {
id: 'dynatable-search-' + obj.element.id,
'class': 'dynatable-search',
text: settings.inputs.searchText
@@ -1264,7 +1264,7 @@
e.preventDefault();
}
});
- return $searchSpan;
+ return $searchLabel;
};
this.attach = function() {