Skip to content

Commit 779b2c9

Browse files
committed
Google geolocation updates, analytics bugfixes, breadcrumb enhancements
1 parent 201b786 commit 779b2c9

File tree

13 files changed

+108
-100
lines changed

13 files changed

+108
-100
lines changed

Nebula-Child/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/critical.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/login.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/pre.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/tinymce.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/nebula.js

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ function socialSharing(){
517517
ga('send', 'event', 'Social', 'Share', 'Web Share API');
518518
nv('event', 'Web Share API');
519519
oThis.addClass('success');
520-
//set cookie yolo
520+
createCookie('shareapi', true);
521521
}).catch(function(error){
522522
ga('send', 'exception', {'exDescription': '(JS) Share API Error: ' + error, 'exFatal': false});
523523
oThis.addClass('error').text('Sharing Error');
@@ -1983,7 +1983,6 @@ function cf7LocalStorage(){
19831983
jQuery('.wpcf7-textarea, .wpcf7-text').each(function(){
19841984
if ( !jQuery(this).hasClass('do-not-store') && !jQuery(this).hasClass('.wpcf7-captchar') ){
19851985
jQuery(this).val(localStorage.getItem('cf7_' + jQuery(this).attr('name'))).trigger('keyup');
1986-
console.log('filled');
19871986
}
19881987
});
19891988
});
@@ -2386,13 +2385,29 @@ function sanitizeGooglePlaceData(place, uniqueID){
23862385
nebula.user.address = {};
23872386
}
23882387

2388+
if ( typeof nebula.user.address !== 'array' ){
2389+
nebula.user.address = [];
2390+
}
2391+
23892392
nebula.user.address[uniqueID] = {
2390-
street: null,
2393+
street: {
2394+
number: null,
2395+
name: null
2396+
},
23912397
city: null,
23922398
county: null,
2393-
state: null,
2394-
country: null,
2395-
zip: null,
2399+
state: {
2400+
name: null,
2401+
abbr: null
2402+
},
2403+
country: {
2404+
name: null,
2405+
abbr: null
2406+
},
2407+
zip: {
2408+
code: null,
2409+
suffix: null
2410+
}
23962411
};
23972412

23982413
for ( var i = 0; i < place.address_components.length; i++ ){

assets/js/sw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//BEGIN Automated edits. These will be automatically overwritten.
2-
var CACHE_NAME = 'nebula-nebula-child-55909'; //Monday, May 14, 2018 1:31:02 PM
2+
var CACHE_NAME = 'nebula-nebula-child-32369'; //Wednesday, May 16, 2018 11:19:26 AM
33
var OFFLINE_URL = 'https://gearside.com/nebula/offline/';
44
var OFFLINE_IMG = 'https://gearside.com/nebula/wp-content/themes/Nebula-master/assets/img/offline.svg';
55
var META_ICON = 'https://gearside.com/nebula/wp-content/themes/Nebula-master/assets/img/meta/android-chrome-512x512.png';

assets/scss/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Description: Nebula is a springboard WordPress theme framework for developers. Like other WordPress startup themes, it has custom functionality built-in (like shortcodes, styles, and JS/PHP functions), but unlike other themes Nebula is not meant for the end-user.
55
Author: Pinckney Hugo Group
66
Author URI: http://www.pinckneyhugo.com
7-
Version: 5.12.14.5633
7+
Version: 5.12.16.4719
88
License: GNU General Public License v2.0 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, threaded-comments, theme-options, sticky-post, post-formats, microformats, full-width-template, front-page-post-form, flexible-header, featured-images, featured-image-header, editor-style, custom-menu, custom-colors, accessibility-ready

0 commit comments

Comments
 (0)