mirror of
https://github.com/vrana/adminer.git
synced 2025-08-24 23:16:15 +02:00
AdminerSqlGemini: Highlight button
This commit is contained in:
@@ -773,7 +773,7 @@ function setupSubmitHighlight(parent) {
|
||||
* @param HTMLElement
|
||||
*/
|
||||
function setupSubmitHighlightInput(input) {
|
||||
if (!/submit|image|file/.test(input.type)) {
|
||||
if (!/submit|button|image|file/.test(input.type)) {
|
||||
addEvent(input, 'focus', inputFocus);
|
||||
addEvent(input, 'blur', inputBlur);
|
||||
}
|
||||
@@ -783,6 +783,7 @@ function setupSubmitHighlightInput(input) {
|
||||
* @this HTMLInputElement
|
||||
*/
|
||||
function inputFocus() {
|
||||
console.log('functions');
|
||||
alterClass(findDefaultSubmit(this), 'default', true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user