system: small follow-up for correct preset on page load #4373

This commit is contained in:
Franco Fichtner 2020-09-24 14:10:33 +02:00
parent 6cac461e6e
commit dd526ac8b8

View File

@ -381,7 +381,7 @@ $(document).ready(function() {
});
}
});
$.webguiinterface_warned = 0;
$.webguiinterface_warned = $('#webguiinterface option:selected').length ? 1 : 0;
<?php
if (isset($restart_webgui) && $restart_webgui): ?>