dd
Showing
2 changed files
with
10 additions
and
34 deletions
| ... | @@ -258,39 +258,6 @@ $(window).on('load resize scroll', function() { | ... | @@ -258,39 +258,6 @@ $(window).on('load resize scroll', function() { |
| 258 | 258 | ||
| 259 | 259 | ||
| 260 | 260 | ||
| 261 | |||
| 262 | |||
| 263 | |||
| 264 | |||
| 265 | |||
| 266 | // function SaveToDisk(fileURL, fileName) { | ||
| 267 | // // for non-IE | ||
| 268 | // if (!window.ActiveXObject) { | ||
| 269 | // var save = document.createElement('a'); | ||
| 270 | // save.href = fileURL; | ||
| 271 | // save.target = '_blank'; | ||
| 272 | // save.download = fileName || 'unknown'; | ||
| 273 | |||
| 274 | // var evt = new MouseEvent('click', { | ||
| 275 | // 'view': window, | ||
| 276 | // 'bubbles': true, | ||
| 277 | // 'cancelable': false | ||
| 278 | // }); | ||
| 279 | // save.dispatchEvent(evt); | ||
| 280 | |||
| 281 | // (window.URL || window.webkitURL).revokeObjectURL(save.href); | ||
| 282 | // } | ||
| 283 | |||
| 284 | // // for IE < 11 | ||
| 285 | // else if ( !! window.ActiveXObject && document.execCommand) { | ||
| 286 | // var _window = window.open(fileURL, '_blank'); | ||
| 287 | // _window.document.close(); | ||
| 288 | // _window.document.execCommand('SaveAs', true, fileName || fileURL) | ||
| 289 | // _window.close(); | ||
| 290 | // } | ||
| 291 | // } | ||
| 292 | |||
| 293 | |||
| 294 | $(document).on("click",".start_a_contact",function() { | 261 | $(document).on("click",".start_a_contact",function() { |
| 295 | 262 | ||
| 296 | if ($(window).width() < 600) { | 263 | if ($(window).width() < 600) { |
| ... | @@ -467,6 +434,15 @@ $(window).on('load resize scroll', function() { | ... | @@ -467,6 +434,15 @@ $(window).on('load resize scroll', function() { |
| 467 | 434 | ||
| 468 | }); | 435 | }); |
| 469 | } | 436 | } |
| 437 | if ( '676' == event.detail.contactFormId ) { | ||
| 438 | |||
| 439 | if($(event.target).hasClass('invalid')) { | ||
| 440 | $('#exampleModal').find('form').show(); | ||
| 441 | return; | ||
| 442 | }else{ | ||
| 443 | $('#exampleModal').modal('hide'); | ||
| 444 | } | ||
| 445 | } | ||
| 470 | }, false ); | 446 | }, false ); |
| 471 | 447 | ||
| 472 | $(".n2-ss-text").each(function() { | 448 | $(".n2-ss-text").each(function() { | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | Author: the Understrap Contributors | 5 | Author: the Understrap Contributors |
| 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors | 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors |
| 7 | Template: understrap | 7 | Template: understrap |
| 8 | Version: 1.1.30385 | 8 | Version: 1.1.30386 |
| 9 | License: GNU General Public License v2 or later | 9 | License: GNU General Public License v2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html | 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | Text Domain: understrap-child | 11 | Text Domain: understrap-child | ... | ... |
-
Please register or sign in to post a comment