commit c09483a7772e76be543dde23f5a4445369cec38e Author: David Fifield david@bamsoftware.com Date: Sun Jun 9 18:26:28 2013 -0700
Style changes. --- proxy/flashproxy.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js index b7444e1..d52a24b 100644 --- a/proxy/flashproxy.js +++ b/proxy/flashproxy.js @@ -379,10 +379,9 @@ function get_langs() { if (param !== undefined) result.push(param);
- // https://developer.mozilla.org/en/docs/DOM/window.navigator.language - if (typeof navigator !== undefined && navigator.language) { - result.push(navigator.language) - } + /* https://developer.mozilla.org/en/docs/DOM/window.navigator.language */ + if (window.navigator.language) + result.push(window.navigator.language);
return result; }
tor-commits@lists.torproject.org