From 0e29d4da52c85f9e25a40dbf52030f95ea75d03b Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Thu, 20 Feb 2014 09:21:30 -0600 Subject: [PATCH] Use a label element for search text --- jquery.dynatable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {