Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jeff Balicki
/
FP_Canada
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0e7ef0ab
authored
2022-03-28 10:54:31 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
dd
1 parent
bae75c41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
wp-content/themes/understrap-child/js/custom-javascript.js
wp-content/themes/understrap-child/style.css
wp-content/themes/understrap-child/js/custom-javascript.js
View file @
0e7ef0a
...
...
@@ -357,10 +357,8 @@ $(window).on('load resize scroll', function() {
document
.
addEventListener
(
'wpcf7submit'
,
function
(
event
)
{
console
.
log
(
'id'
+
event
.
detail
.
contactFormId
);
if
(
'209'
==
event
.
detail
.
contactFormId
)
{
if
(
'209'
==
event
.
detail
.
contactFormId
)
{
if
(
$
(
event
.
target
).
hasClass
(
'invalid'
))
{
$
(
'#exampleModalLong'
).
find
(
'form'
).
show
();
return
;
...
...
@@ -435,14 +433,11 @@ $(window).on('load resize scroll', function() {
});
}
if
(
'676'
==
event
.
detail
.
contactFormId
)
{
console
.
log
(
'remind-me'
);
if
(
'646'
==
event
.
detail
.
contactFormId
)
{
if
(
$
(
event
.
target
).
hasClass
(
'invalid'
))
{
console
.
log
(
'invalid'
);
$
(
'#exampleModal'
).
find
(
'form'
).
show
();
return
;
}
else
{
console
.
log
(
'hide'
);
$
(
'#exampleModal'
).
modal
(
'hide'
);
}
}
...
...
wp-content/themes/understrap-child/style.css
View file @
0e7ef0a
...
...
@@ -5,7 +5,7 @@
Author: the Understrap Contributors
Author URI: https://github.com/understrap/understrap-child/graphs/contributors
Template: understrap
Version: 1.1.30389
1
Version: 1.1.30389
2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap-child
...
...
Please
register
or
sign in
to post a comment