summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki.language/languages/he.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/src/mediawiki.language/languages/he.js')
-rw-r--r--resources/src/mediawiki.language/languages/he.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/src/mediawiki.language/languages/he.js b/resources/src/mediawiki.language/languages/he.js
index d1eba43b..945f02fe 100644
--- a/resources/src/mediawiki.language/languages/he.js
+++ b/resources/src/mediawiki.language/languages/he.js
@@ -4,8 +4,8 @@
mediaWiki.language.convertGrammar = function ( word, form ) {
var grammarForms = mediaWiki.language.getData( 'he', 'grammarForms' );
- if ( grammarForms && grammarForms[form] ) {
- return grammarForms[form][word];
+ if ( grammarForms && grammarForms[ form ] ) {
+ return grammarForms[ form ][ word ];
}
switch ( form ) {
case 'prefixed':