Skip to content

Commit

Permalink
Bootstrap update, exception tracking GA4 improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisblakley committed Sep 21, 2023
1 parent 1991c4e commit f8d5add
Show file tree
Hide file tree
Showing 27 changed files with 75 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nebula-wp",
"title": "Nebula",
"description": "Advanced Starter WordPress Theme for Developers",
"version": "11.4.8.576",
"version": "11.4.21.615",
"homepage": "https://gearside.com/nebula/",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion Nebula-Child/assets/css/admin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Nebula-Child/resources/sw.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//BEGIN automated edits. These will be automatically overwritten.
const THEME_NAME = 'nebula-child';
const NEBULA_VERSION = 'v11.4.8.576'; //Friday, September 8, 2023 1:49:16 PM
const NEBULA_VERSION = 'v11.4.21.615'; //Thursday, September 21, 2023 2:45:08 PM
const OFFLINE_URL = 'https://nebula.gearside.com/offline/';
const OFFLINE_IMG = 'https://nebula.gearside.com/wp-content/themes/Nebula-main/assets/img/offline.svg';
const META_ICON = 'https://nebula.gearside.com/wp-content/themes/Nebula-main/assets/img/meta/android-chrome-512x512.png';
Expand Down
4 changes: 2 additions & 2 deletions Nebula-Child/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/critical.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/login.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/pre.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions assets/js/admin-modules/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ nebula.checkDependents = function(inputObject){
//The dependent-and attribute must have ALL checked
jQuery('[dependent-and~=' + inputObject.attr('id') + ']').each(function(){
var $oThis = jQuery(this);
var dependentOrs = oThis.attr('dependent-and').split(' ');
var dependentOrs = $oThis.attr('dependent-and').split(' ');
var totalDependents = dependentAnds.length;
var dependentsChecked = 0;
jQuery.each(dependentAnds, function(){
Expand All @@ -220,7 +220,7 @@ nebula.checkDependents = function(inputObject){
//The dependent-or attribute can have ANY checked
jQuery('[dependent-or~=' + inputObject.attr('id') + ']').each(function(){
var $oThis = jQuery(this);
var dependentOrs = oThis.attr('dependent-or').split(' ');
var dependentOrs = $oThis.attr('dependent-or').split(' ');
var totalDependents = dependentOrs.length;
var dependentsUnchecked = 0;
jQuery.each(dependentOrs, function(){
Expand Down
12 changes: 6 additions & 6 deletions assets/js/modules/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ nebula.cf7Functions = async function(){
nebula.clarity('set', thisEvent.event_category, thisEvent.event_action);
} catch {
gtag('event', 'exception', {
description: '(JS) CF7 Catch (cf7 HTML form submit): ' + error,
message: '(JS) CF7 Catch (cf7 HTML form submit): ' + error,
fatal: false
});
nebula.usage('CF7 (HTML) Catch: ' + error);
Expand Down Expand Up @@ -208,7 +208,7 @@ nebula.cf7Functions = async function(){
jQuery('#cf7-privacy-acceptance').trigger('change'); //Until CF7 has a native invalid indicator for the privacy acceptance checkbox, force the Nebula validator here
} catch(error){
gtag('event', 'exception', {
description: '(JS) CF7 Catch (wpcf7submit): ' + error,
message: '(JS) CF7 Catch (wpcf7submit): ' + error,
fatal: false
});
nebula.usage('CF7 Catch: ' + error);
Expand Down Expand Up @@ -260,7 +260,7 @@ nebula.cf7Functions = async function(){
nebula.crm('event', 'Contact Form (' + thisEvent.unitTag + ') Invalid');
} catch(error){
gtag('event', 'exception', {
description: '(JS) CF7 Catch (wpcf7invalid): ' + error,
message: '(JS) CF7 Catch (wpcf7invalid): ' + error,
fatal: false
});
nebula.usage('CF7 Catch: ' + error);
Expand Down Expand Up @@ -324,7 +324,7 @@ nebula.cf7Functions = async function(){
nebula.crm('event', 'Contact Form (' + thisEvent.unitTag + ') Spam');
} catch(error){
gtag('event', 'exception', {
description: '(JS) CF7 Catch (wpcf7spam): ' + error,
message: '(JS) CF7 Catch (wpcf7spam): ' + error,
fatal: false
});
nebula.usage('CF7 Catch: ' + error);
Expand Down Expand Up @@ -370,7 +370,7 @@ nebula.cf7Functions = async function(){
nebula.crm('event', 'Contact Form (' + thisEvent.unitTag + ') Failed');
} catch(error){
gtag('event', 'exception', {
description: '(JS) CF7 Catch (wpcf7mailfailed): ' + error,
message: '(JS) CF7 Catch (wpcf7mailfailed): ' + error,
fatal: false
});
nebula.usage('CF7 Catch: ' + error);
Expand Down Expand Up @@ -436,7 +436,7 @@ nebula.cf7Functions = async function(){
jQuery('#' + e.detail.unitTag).find('.is-valid, .is-invalid').removeClass('is-valid is-invalid'); //Clear all validation classes
} catch(error){
gtag('event', 'exception', {
description: '(JS) CF7 Catch (wpcf7mailsent): ' + error,
message: '(JS) CF7 Catch (wpcf7mailsent): ' + error,
fatal: false
});
nebula.usage('CF7 Catch: ' + error);
Expand Down
Loading

0 comments on commit f8d5add

Please sign in to comment.