1
0
Fork 0
mirror of https://github.com/qurator-spk/neat.git synced 2025-06-11 20:59:54 +02:00

beautify heading

This commit is contained in:
Kai Labusch 2020-09-01 10:56:00 +02:00
parent ec6d1ce509
commit f6de1b5859

View file

@ -874,7 +874,11 @@ function setupInterface(data, file, urls) {
$("#save").attr('disabled', !has_changes);
$("#file-region").html('<h3>' + file.name + '</h3>');
let parts = file.name.split(/-|_/)
let heading = parts.join("&shy;")
$("#file-region").html('<h3>' + heading + '</h3>');
$('.saveButton').on('click', saveFile);