i18n the placeholder text in language selector and correct the onready
callback
This commit is contained in:
1 parent
f35d20128f
commit
76094b8e03
5 files changed
+19
-9
No files matched your search
@@ -108,7 +108,7 @@
|
||||
|
||||
ready: function() {
|
||||
if ( this.options.onReady ) {
|
||||
this.options.onReady( this );
|
||||
this.options.onReady.call( this );
|
||||
}
|
||||
},
|
||||
|
||||
@@ -152,6 +152,7 @@
|
||||
|
||||
i18n: function() {
|
||||
this.$menu.find( '[data-i18n]' ).i18n();
|
||||
this.$languageFilter.prop( 'placeholder', $.i18n( 'uls-search-placeholder' ) );
|
||||
},
|
||||
|
||||
defaultSearch: function () {
|
||||
|
||||
Reference in new issue
Block a user