From e367ecea39fef8128b38b8ed6fb1fb5516842208 Mon Sep 17 00:00:00 2001 From: dmacias72 Date: Tue, 3 Oct 2017 08:02:28 -0600 Subject: [PATCH] change uninstallpkg to class --- .../usr/local/emhttp/plugins/NerdPack/js/jquery.NerdPack.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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