forked from MarseyWorld/MarseyWorld
master
parent
2af6c69661
commit
bfd38bfff2
|
@ -23,7 +23,7 @@ def post_embed(id, v):
|
|||
return render_template("submission_listing.html", listing=[p], v=v)
|
||||
|
||||
@app.template_filter("favorite_emojis")
|
||||
def favorite_emojis():
|
||||
def favorite_emojis('v'):
|
||||
str = ""
|
||||
emojis = session["favorite_emojis"]
|
||||
emojis = sorted(emojis.items(), key=lambda x: x[1], reverse=True)
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<div class="tab-content">
|
||||
<div class="tab-pane fade show active" id="emoji-tab-favorite">
|
||||
<div class="d-flex flex-wrap py-3 pl-2" id="EMOJIS_favorite">
|
||||
{{favorite_emojis}}
|
||||
{{'v' | favorite_emojis}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="emoji-tab-marsey">
|
||||
|
|
Loading…
Reference in New Issue