diff --git a/public/themes/pterodactyl/js/admin/new-server.js b/public/themes/pterodactyl/js/admin/new-server.js index 67827cf06..39818963d 100644 --- a/public/themes/pterodactyl/js/admin/new-server.js +++ b/public/themes/pterodactyl/js/admin/new-server.js @@ -83,6 +83,7 @@ $('#pEggId').on('change', function (event) { let objectChain = _.get(parentChain, 'eggs.' + $(this).val(), null); const images = _.get(objectChain, 'docker_images', []) + $('#pDefaultContainer').html(''); for (let i = 0; i < images.length; i++) { let opt = document.createElement('option'); opt.value = images[i]; diff --git a/resources/views/admin/servers/new.blade.php b/resources/views/admin/servers/new.blade.php index 50ae7b90d..af1db5056 100644 --- a/resources/views/admin/servers/new.blade.php +++ b/resources/views/admin/servers/new.blade.php @@ -331,7 +331,7 @@ // END Persist 'Service Variables' - {!! Theme::js('js/admin/new-server.js?v=20201212') !!} + {!! Theme::js('js/admin/new-server.js?v=20201225') !!}