fix href error

master
fefa4ka 10 years ago
parent 479b34b4a2
commit e049a4b81e
  1. 2
      zsite/static/js/snippets.js
  2. 2
      zsite/templates/form_template/consultation.html
  3. 2
      zsite/templates/form_template/order_modal.html

@ -28,7 +28,7 @@ $(function() {
yaCounter950321.reachGoal('EmailClick');
});
$( "[href^='#service-form-submit'" ).click(function(e) {
$( "[href^='#service-form-submit']" ).click(function(e) {
e.preventDefault();
$('.service-calculator form').submit();
});

@ -107,7 +107,7 @@
<script type="text/javascript">
$(function() {
if(typeof consultation_link == "undefined") {
$( "[href^='#consultation'" ).click(function(e) {
$( "[href^='#consultation']" ).click(function(e) {
event.preventDefault();
angular.element($('.consultation-form')[0]).scope().open({{ instance.id }});

@ -115,7 +115,7 @@
<script type="text/javascript">
$(function() {
if(typeof consultation_link == "undefined") {
$( "[href^='#order'" ).click(function(e) {
$( "[href^='#order']" ).click(function(e) {
event.preventDefault();
angular.element($('.order-form')[0]).scope().open({{ instance.id }});

Loading…
Cancel
Save