Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

Commit

Permalink
fix line length breaking lint on petition.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rlkammerer committed Oct 19, 2012
1 parent 62f73c8 commit 6e1a2cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/assets/javascripts/petition.js
Expand Up @@ -232,7 +232,9 @@ function drawModalAfterSigning() {
var modal = $("#thanksModal");
if (screen.width > 480 && modal.length && wasSigned()) {
modal.modal('toggle');
if (($(".modal_centered_hide-sidebar").length > 0) || ($(".modal_left_hide-sidebar").length > 0) || ($(".modal_sidebar_hide-sidebar").length > 0)) {
if (($(".modal_centered_hide-sidebar").length > 0) || +
($(".modal_left_hide-sidebar").length > 0) || +
($(".modal_sidebar_hide-sidebar").length > 0)) {
$(".secondary").css("display", "none");
$('#thanksModal').on('hidden', function () {
$(".secondary").css("display", "block");
Expand Down

0 comments on commit 6e1a2cb

Please sign in to comment.