{name: 'preview', text: 's'},
{name: 'attachments', text: 's'},
{name: 'draft', text: 's'},
- {name: 'comment', text: 's'}, // needs to be set manually in comments.html :(
- {name: 'save', text: 's'},
+ {name: 'comment', text: 's'},
+ {name: 'save', text: 'Sztuczna gadatliwość pijanych konstabli cieszy rumieńcem stareńkich notabli'},
{name: 'mainpage', text: 's'},
- {name: 'exit', text: 's'}
+ {name: 'exit', text: 'Sztuczna gadatliwość pijanych konstabli cieszy rumieńcem stareńkich notabli'}
]
};
Editor.start(config);
};
-
-
-
</script>
+ <div id="tuton"></div>
<div id="editor_root"></div>
</body>
</html>
}
$('#tutModal').on('hidden.bs.modal', tut);
- var $tuton = $("#tuton");
- if (sessionStorage.getItem("tutorial") == "on" && $tuton.length == 0) {
+ if (sessionStorage.getItem("tutorial") == "on" && $('#tuton').length == 0) {
tutreset();
tut();
}
- $tuton.on('click', tuton);
+ $(document).on('click', '#tuton', tuton);
$(document).on('click', '.tutorial-off', tutoff);
$(document).on('click', '.tutorial-next', tut);
});