change uninstallpkg to class
This commit is contained in:
parent
e55426bb0a
commit
e367ecea39
@ -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');
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user