diff --git a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/js/jquery.NerdPack.js b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/js/jquery.NerdPack.js index 45313356..dc76ef41 100644 --- a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/js/jquery.NerdPack.js +++ b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/js/jquery.NerdPack.js @@ -28,7 +28,7 @@ $(function(){ checked: $.cookie('nerdpack_packages_uninstall') == '--uninstall' }) .change(function () { - $.cookie('nerdpack_packages_uninstall', $('#uninstallpkg')[0].checked ? '--uninstall' : '', { expires: 3650 }); + $.cookie('nerdpack_packages_uninstall', $('.uninstallpkg')[0].checked ? '--uninstall' : '', { expires: 3650 }); }); // select all packages switch @@ -173,4 +173,4 @@ function checkDepends() { $('#perl').switchButton({checked: true}); $('#perl', '.pkgvalue').val('yes'); } -} +} \ No newline at end of file