mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 11:04:02 +02:00
Treat Meta key same as Ctrl (bug #3599405)
This commit is contained in:
@@ -8,7 +8,7 @@ function selectFieldChange(form) {
|
||||
|
||||
function whisperClick(event, field) {
|
||||
var el = event.target || event.srcElement;
|
||||
if (/^a$/i.test(el.tagName) && !(event.button || event.ctrlKey || event.shiftKey || event.altKey || event.metaKey)) {
|
||||
if (/^a$/i.test(el.tagName) && !(event.button || event.shiftKey || event.altKey || isCtrl(event))) {
|
||||
field.value = el.firstChild.data;
|
||||
field.previousSibling.value = decodeURIComponent(el.href.replace(/.*=/, ''));
|
||||
field.nextSibling.style.display = 'none';
|
||||
|
Reference in New Issue
Block a user