mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 04:56:00 +00:00
perspective cell highlight
This commit is contained in:
@@ -154,7 +154,7 @@
|
||||
checkLoadAdditionalData();
|
||||
}
|
||||
|
||||
function buildMenu({ targetElement }) {
|
||||
function buildMenu({ targetElement, registerCloseHandler }) {
|
||||
const res = [];
|
||||
const td = targetElement.closest('td') || targetElement.closest('th');
|
||||
|
||||
@@ -172,6 +172,10 @@
|
||||
setConfig,
|
||||
})
|
||||
);
|
||||
td.classList.add('highlight');
|
||||
registerCloseHandler(() => {
|
||||
td.classList.remove('highlight');
|
||||
});
|
||||
}
|
||||
|
||||
res.push([
|
||||
|
||||
Reference in New Issue
Block a user