Fix removing mysqli on install

pull/9/head
Chewbaka69 5 years ago
parent dc2bcaa364
commit 74152caa02

@ -417,9 +417,6 @@
var mysqlLoading = document.querySelector('#mysql .loading'); var mysqlLoading = document.querySelector('#mysql .loading');
mysqlLoading.classList.remove('hidden'); mysqlLoading.classList.remove('hidden');
var mysqliLoading = document.querySelector('#mysqli .loading');
mysqliLoading.classList.remove('hidden');
var pdosqlLoading = document.querySelector('#pdo_sql .loading'); var pdosqlLoading = document.querySelector('#pdo_sql .loading');
pdosqlLoading.classList.remove('hidden'); pdosqlLoading.classList.remove('hidden');
@ -477,23 +474,6 @@
element = document.createElement('i'); element = document.createElement('i');
mysqliLoading.classList.add('hidden');
if (result['mysqli'] === true) {
element.classList.add('glyphicon', 'circle-ok', 'glyphicon-2x');
element.style.color = color_agree;
element.style.margin = 'auto';
mysqliLoading.after(element);
} else {
element.classList.add('glyphicon', 'circle-exclamation-mark', 'glyphicon-2x');
element.style.color = color_error;
element.style.margin = 'auto';
mysqliLoading.after(element);
}
element = document.createElement('i');
pdosqlLoading.classList.add('hidden'); pdosqlLoading.classList.add('hidden');
if (result['pdo_mysql'] === true) { if (result['pdo_mysql'] === true) {
element.classList.add('glyphicon', 'circle-ok', 'glyphicon-2x'); element.classList.add('glyphicon', 'circle-ok', 'glyphicon-2x');
@ -674,4 +654,4 @@
</script> </script>
<?php echo $end_js; ?> <?php echo $end_js; ?>
</body> </body>
</html> </html>

Loading…
Cancel
Save