1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/12342] Use prop() instead of attr() for boolean properties

PHPBB3-12342
This commit is contained in:
Matt Friedman
2014-04-01 17:58:56 -07:00
parent 5a3d4109bb
commit 0f3e6ca676
4 changed files with 5 additions and 5 deletions

View File

@@ -373,7 +373,7 @@ $('#quick-mod-select').change(function () {
});
$('#delete_permanent').click(function () {
if ($(this).attr('checked')) {
if ($(this).prop('checked')) {
$('#delete_reason').hide();
} else {
$('#delete_reason').show();