diff options
Diffstat (limited to 'src/static/js/html10n.js')
-rw-r--r-- | src/static/js/html10n.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/static/js/html10n.js b/src/static/js/html10n.js index a38f76d7..9c85cd2f 100644 --- a/src/static/js/html10n.js +++ b/src/static/js/html10n.js @@ -804,6 +804,14 @@ window.html10n = (function(window, document, undefined) { cb(null, build) }) } + + /** + * Returns the language that was last applied to the translations hash + * thus overriding most of the formerly applied langs + */ + html10n.getLanguage = function() { + this.language + } /** * Index all <link>s |