Spelling of event name

This commit is contained in:
Amir E. Aharoni
2012-11-16 14:09:45 +02:00
parent 15d98ee586
commit ba6a1e5eec
2 changed files with 2 additions and 2 deletions

View File

@@ -211,7 +211,7 @@
// Register all event listeners to the ULS here.
uls.$element.on( 'click', $.proxy( uls.click, uls ) );
uls.$languageFilter.on( 'seachclear', $.proxy( uls.defaultSearch, uls ) );
uls.$languageFilter.on( 'searchclear', $.proxy( uls.defaultSearch, uls ) );
// Handle click on close button
uls.$menu.find( '#uls-close' ).on( 'click', $.proxy( uls.cancel, uls ) );

View File

@@ -117,7 +117,7 @@
*/
clear: function() {
this.deactivate();
this.$element.trigger( 'seachclear' );
this.$element.trigger( 'searchclear' );
},
/**