0
0
Fork 0
mirror of https://gitlab.com/Oreolek/salet-module.git synced 2024-06-26 03:50:49 +03:00

Fixed the append vs. FX effects

This commit is contained in:
Alexander Yakovlev 2016-12-10 22:27:53 +07:00
parent 1cf8b33621
commit ff465a4003
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "salet",
"version": "1.6.7",
"version": "1.6.8",
"description": "A general client-side framework for cybertext interactive fiction games.",
"keywords": ["ifiction", "interactive fiction", "games", "coffee-script", "text", "menu"],
"homepage": "http://salet.oreolek.ru",

View file

@ -93,9 +93,9 @@ class SaletView
content = @prepareContent(content)
block = $(elementSelector)
if block
newhtml = block.html() + markdown(content)
newhtml = markdown(content)
block.promise().done(() ->
block.html(newhtml)
block.append(newhtml)
)
return newhtml
else