From 9b649bf6ea7f43cd19b6847db5b2676a60835cd8 Mon Sep 17 00:00:00 2001 From: KeyserSosa Date: Wed, 22 Jul 2009 14:37:23 -0700 Subject: [PATCH] fix browser language behavior by preserving order. Also style fix to iphone page. --- r2/r2/controllers/reddit_base.py | 1 - r2/r2/public/static/iphone/index.html | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/r2/r2/controllers/reddit_base.py b/r2/r2/controllers/reddit_base.py index 53ea68df1..b5ebe5378 100644 --- a/r2/r2/controllers/reddit_base.py +++ b/r2/r2/controllers/reddit_base.py @@ -299,7 +299,6 @@ def get_browser_langs(): if l not in seen_langs and l in g.languages: browser_langs.append(l) seen_langs.add(l) - browser_langs.sort() return browser_langs def set_host_lang(): diff --git a/r2/r2/public/static/iphone/index.html b/r2/r2/public/static/iphone/index.html index c943bcf9a..7053cd00e 100644 --- a/r2/r2/public/static/iphone/index.html +++ b/r2/r2/public/static/iphone/index.html @@ -190,14 +190,14 @@ for a random, cool link.

- +

Buy the iReddit app for just $.99 and you'll never see an ad on it. It comes with a ton of sound effects for your shaking pleasure and will let you aggregate up to 500 reddit subscriptions.

-
+

Feeling hesitant? Try the free version of iReddit. You just get one sound effect, though it is cool, and you can aggregate only 100 of your reddit subscriptions.