Simplify if-statement
Change-Id: Icc91ed0650297935538a6398f4a540899b677317
This commit is contained in:
@@ -196,11 +196,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
isLoaded: function ( locale ) {
|
isLoaded: function ( locale ) {
|
||||||
if ( this.messages[locale] ) {
|
return this.messages[locale];
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
load: function ( locale ) {
|
load: function ( locale ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user