Skip to content

Commit

Permalink
Merge pull request #1884 from mgroves/master
Browse files Browse the repository at this point in the history
Fixes #1725 by using a selector instead of 'this', so reasonSelected wor...
  • Loading branch information
analogrelay committed Feb 24, 2014
2 parents 102b4d0 + 1607bc3 commit 41ea5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NuGetGallery/Views/Packages/ReportAbuse.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<script>
function reasonSelected() {
var $form = $('#Reason').parents('form');
var val = $(this).val();
var val = $('#Reason').val();
if (val) {
$form.validate().element($('#Reason'));
}
Expand Down

0 comments on commit 41ea5cb

Please sign in to comment.