Browse Source

Fixes search destroy method to remove all events

pull/912/head
jlukic 10 years ago
parent
commit
28545c5b99
1 changed files with 9 additions and 0 deletions
  1. 9
      src/definitions/modules/search.js

9
src/definitions/modules/search.js

@ -92,6 +92,15 @@ $.fn.search = function(parameters) {
$module
.removeData(moduleNamespace)
;
$prompt
.off(eventNamespace)
;
$searchButton
.off(eventNamespace)
;
$results
.off(eventNamespace)
;
},
event: {
focus: function() {

Loading…
Cancel
Save