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