Fixes issue 270

This commit is contained in:
Robin Liao
2012-01-10 13:59:36 -08:00
parent e4295dfc60
commit a693ecb44a

View File

@@ -3,7 +3,7 @@
Danbooru.PostFlag.initialize_all = function() {
if ($("#c-posts") && $("#a-show")) {
this.initialize_flag();
this.initialize_flag();
this.hide_or_show_flag_link();
}
}
@@ -30,6 +30,10 @@
}
});
$('#flag-dialog form').submit(function() {
$('#flag-dialog').dialog('close');
});
$("#flag").click(function(e) {
e.preventDefault();
$("#flag-dialog").dialog("open");