Simplify if-statement
Change-Id: Icc91ed0650297935538a6398f4a540899b677317
This commit is contained in:
@@ -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