1
0
mirror of https://github.com/Hutchy68/pivot.git synced 2025-12-20 07:47:03 +01:00

Making Font Awesome 'preload' a feature as this does not effect everyone. Absolute latest Foundation 5 js from their repo to fix all JQMigrate warnings.

This commit is contained in:
Tom Hutchison
2018-02-15 12:42:07 -05:00
parent 52aecafbc9
commit 65964dc883
18 changed files with 147 additions and 85 deletions

View File

@@ -4,7 +4,7 @@
Foundation.libs.abide = {
name : 'abide',
version : '5.5.3',
version : '{{VERSION}}',
settings : {
live_validate : true, // validate the form as you go
@@ -154,7 +154,7 @@
validate : function (els, e, is_ajax) {
var validations = this.parse_patterns(els),
validation_count = validations.length,
form = this.S(els[0]).closest('form'),
form = this.S(els.length ? els[0] : e.target).closest('form'),
submit_event = /submit/.test(e.type);
// Has to count up to make sure the focus gets applied to the top error