- gitlist.git
- src
- browser
- js
- todo.js
This file ( 620B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
let $todoModal
let todoHtml;
window.gitlist.todo = async() => {
if (todoHtml === undefined) {
try {
const response = await $.ajax('https://raw.githubusercontent.com/patrikx3/gitlist/master/todo.md')
const $todoModalBody = $('#p3x-gitlist-modal-todo-body')
todoHtml = window.gitlist.renderMarkdown({
markdown: response
})
$todoModalBody.html(todoHtml);
} catch(e) {
window.gitlist.ajaxErrorHandler(e)
}
}
$todoModal.modal('show')
}
$(async () => {
$todoModal = $('#p3x-gitlist-modal-todo')
})