mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 23:39:11 -05:00
fix browser language behavior by preserving order. Also style fix to iphone page.
This commit is contained in:
@@ -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():
|
||||
|
||||
@@ -190,14 +190,14 @@ for a random, cool link.
|
||||
</p>
|
||||
|
||||
<div style="margin-bottom: 40px;">
|
||||
<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=302732279&mt=8"><img style="float:left; margin-right: 10px;margin-bottom: 10px;" src="iReddit-thumb.png"></a>
|
||||
<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=302732279&mt=8"><img style="float:left; margin-right: 10px;margin-bottom: 10px; border: none" src="iReddit-thumb.png"></a>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=302732279&mt=8"><img src="getapp.png" border="0"></a>
|
||||
</div>
|
||||
|
||||
<div><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=321405188&mt=8"><img style="float:left; margin-right: 10px;margin-bottom: 10px;" src="iRedditFree-thumb.png"></a>
|
||||
<div><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=321405188&mt=8"><img style="float:left; margin-right: 10px;margin-bottom: 10px; border: none" src="iRedditFree-thumb.png"></a>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user