mirror of
https://github.com/vrana/adminer.git
synced 2025-08-28 16:49:57 +02:00
JS: Remove outdated check
This commit is contained in:
@@ -107,7 +107,6 @@ function verifyVersion(current, url, token) {
|
|||||||
iframe.scrolling = 'no';
|
iframe.scrolling = 'no';
|
||||||
iframe.style.width = '7ex';
|
iframe.style.width = '7ex';
|
||||||
iframe.style.height = '1.25em';
|
iframe.style.height = '1.25em';
|
||||||
if (window.postMessage && window.addEventListener) {
|
|
||||||
iframe.style.display = 'none';
|
iframe.style.display = 'none';
|
||||||
addEventListener('message', function (event) {
|
addEventListener('message', function (event) {
|
||||||
if (event.origin == 'https://www.adminer.org') {
|
if (event.origin == 'https://www.adminer.org') {
|
||||||
@@ -119,7 +118,6 @@ function verifyVersion(current, url, token) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, false);
|
}, false);
|
||||||
}
|
|
||||||
qs('#version').appendChild(iframe);
|
qs('#version').appendChild(iframe);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user