[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Style changes.
commit c09483a7772e76be543dde23f5a4445369cec38e
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits