Simplify if-statement
Change-Id: Icc91ed0650297935538a6398f4a540899b677317
This commit is contained in:
1 parent
2f61970301
commit
b5b6aa15f4
1 file changed
+1
-5
@@ -196,11 +196,7 @@
|
||||
},
|
||||
|
||||
isLoaded: function ( locale ) {
|
||||
if ( this.messages[locale] ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return this.messages[locale];
|
||||
},
|
||||
|
||||
load: function ( locale ) {
|
||||
|
||||
Reference in new issue
Block a user