mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
parent
83aafb6f56
commit
db4c569549
|
|
@ -25,6 +25,10 @@ $(document).ready(() => {
|
|||
const opt = $(select_selector).find('option:selected').data();
|
||||
$.extend(template_data, opt);
|
||||
}
|
||||
// special hack for case-insensitive
|
||||
if ("sudoe" in template_data) {
|
||||
template_data.sudoE = template_data.sudoe;
|
||||
}
|
||||
const template = $.trim($(template_selector).text());
|
||||
const content = Mark.up(
|
||||
template,
|
||||
|
|
|
|||
Loading…
Reference in New Issue