Simplify if-statement

Change-Id: Icc91ed0650297935538a6398f4a540899b677317
This commit is contained in:
Siebrand Mazeland
2013-07-08 14:29:00 +02:00
parent 2f61970301
commit b5b6aa15f4

View File

@@ -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 ) {