Browse Source

Apply a class to emoticons for CSS selectability

pull/2/head
Noah Petherbridge 5 years ago
parent
commit
2267a810c4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rophako/model/emoticons.py

+ 1
- 1
rophako/model/emoticons.py View File

@@ -68,7 +68,7 @@ def render(message):
for trigger in smileys["map"][img]:
if trigger in message:
# Substitute it.
sub = """<img src="{url}" alt="{trigger}" title="{trigger}">""".format(
sub = """<img src="{url}" class="rophako-emoticon" alt="{trigger}" title="{trigger}">""".format(
url="/static/smileys/{}/{}".format(Config.emoticons.theme, img),
trigger=trigger,
)

Loading…
Cancel
Save