Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/notificationHelper.js

Issue 29338190: Issue 3697 - Fall back to i18n.getUILanguage if @ui_locale isn't supported (Closed)
Patch Set: Add try-catch blocks. Address nits. Created May 29, 2016, 12:23 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/utils.js » ('j') | lib/utils.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/notificationHelper.js
diff --git a/lib/notificationHelper.js b/lib/notificationHelper.js
index 4dc24e4f5e82b04a5af6ac783bb9c96479bacd9b..afc583a48c370a29ed59e818ba2c5fa8cfde9ee8 100644
--- a/lib/notificationHelper.js
+++ b/lib/notificationHelper.js
@@ -212,7 +212,7 @@ function showNotification(notification)
title,
{
lang: Utils.appLocale,
- dir: ext.i18n.getMessage("@@bidi_dir"),
+ dir: Utils.readingDirection,
body: message,
icon: iconUrl
}
« no previous file with comments | « no previous file | lib/utils.js » ('j') | lib/utils.js » ('J')

Powered by Google App Engine
This is Rietveld