added different check to contact-us modal

This commit is contained in:
Henry Oswald 2016-03-29 14:25:59 +01:00
parent 1a651b38f4
commit c7da9f1eef

View file

@ -21,7 +21,7 @@ define [
$scope.sending = true
ticketNumber = Math.floor((1 + Math.random()) * 0x10000).toString(32)
message = $scope.form.message
if $scope.form.project_url
if $scope.form.project_url?
message = "#{message}\n\n project_url = #{$scope.form.project_url}"
params =
email: $scope.form.email