mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
- beautified composer.json
- added borgar/textile-js to composer requirements (composer.json) - removed textile.min.js from include directory - replaced old textile js path with the new one in header.php - changed the call of js textile in application/views/system/phraseinhaltEdit.php
This commit is contained in:
@@ -91,12 +91,12 @@ function initTextile() {
|
||||
|
||||
// use a simple timer to check if the textarea content has changed
|
||||
var value = $content.val();
|
||||
$preview.html(textile.convert(value));
|
||||
$preview.html(textile.parse(value));
|
||||
setInterval(function () {
|
||||
var newValue = $content.val();
|
||||
if (value != newValue) {
|
||||
value = newValue;
|
||||
$preview.html(textile.convert(newValue)); // convert the textile to html
|
||||
$preview.html(textile.parse(newValue)); // convert the textile to html
|
||||
}
|
||||
}, 500);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user