trim string in clipboard #8

Merged
alpha6 merged 1 commit from trim_sting_to_copy into master 2017-08-03 09:11:04 +03:00
Showing only changes of commit 1e8ea69ee1 - Show all commits

View file

@ -101,7 +101,7 @@
//TODO: rewrite it to vue/JS from jquery
var $temp = $("<input>");
$("body").append($temp);
$temp.val($(event.target).text()).select();
$temp.val($(event.target).text().trim()).select();
document.execCommand("copy");
$temp.remove();
},