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:
parent
1cf8b33621
commit
ff465a4003
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue