use 0x01 for seps in labels string so users can use pipe if they want to

This commit is contained in:
2017-08-05 23:56:35 +02:00
parent 4551ad6dbe
commit 0b3cfe0e74
6 changed files with 10 additions and 17 deletions
+1 -1
View File
@@ -1408,7 +1408,7 @@ var Screen = (function () {
}
function _load_labels(str) {
var pieces = str.split('|');
var pieces = str.split('\x01');
qs('h1').textContent = pieces[0];
qsa('#buttons button').forEach(function(x, i) {
var s = pieces[i+1].trim();