mirror of
https://github.com/fofolee/uTools-ProcessKiller.git
synced 2025-06-30 22:02:45 +08:00
bug fix
This commit is contained in:
parent
60a36408fb
commit
f4282a80a7
@ -144,7 +144,7 @@ $("#tasklist").on('mousedown', '.taskinfo', function (e) {
|
|||||||
if (1 == e.which) {
|
if (1 == e.which) {
|
||||||
kill($(this).attr('id'), false);
|
kill($(this).attr('id'), false);
|
||||||
} else if (3 == e.which) {
|
} else if (3 == e.which) {
|
||||||
kill($(this).attr('id'), $(this).children(".path").html().replace(/\\/g, '/'))
|
kill($(this).attr('id'), $(this).children(".path").text().replace(/\\/g, '/'))
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -157,20 +157,20 @@ $("#tasklist").on('mousemove', '.taskinfo', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
Mousetrap.bind('ctrl+c', () => {
|
Mousetrap.bind('ctrl+c', () => {
|
||||||
var path = $(".select").children(".path").html();
|
var path = $(".select").children(".path").text();
|
||||||
copy(path);
|
copy(path);
|
||||||
utools.showNotification('已复制')
|
utools.showNotification('已复制')
|
||||||
return false
|
return false
|
||||||
});
|
});
|
||||||
|
|
||||||
Mousetrap.bind('ctrl+e', () => {
|
Mousetrap.bind('ctrl+e', () => {
|
||||||
var path = $(".select").children(".path").html();
|
var path = $(".select").children(".path").text();
|
||||||
open(path);
|
open(path);
|
||||||
return false
|
return false
|
||||||
});
|
});
|
||||||
|
|
||||||
Mousetrap.bind('ctrl+r', () => {
|
Mousetrap.bind('ctrl+r', () => {
|
||||||
kill($(".select").attr('id'), $(".select").children(".path").html().replace(/\\/g, '/'))
|
kill($(".select").attr('id'), $(".select").children(".path").text().replace(/\\/g, '/'))
|
||||||
return false
|
return false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user