Remove new lines from input tab header

This commit is contained in:
j433866 2019-06-10 13:08:03 +01:00
parent d99cf9d499
commit 5a52e5e9b3
2 changed files with 3 additions and 1 deletions

View file

@ -433,6 +433,8 @@ self.updateTabHeader = function(inputNum) {
if (typeof inputData !== "string") {
inputData = input.data.name;
}
inputData = inputData.replace(/[\n\r]/g, "");
self.postMessage({
action: "updateTabHeader",
data: {