This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This script passes data from OpenSky.com's main JS object to Desk.com via | |
* query params for a customized contact form loaded in an iframe (yuck). */ | |
/* Hide the iframe (if it’s not already hidden) */ | |
$(document.getElementById('desk-contact-iframe')).addClass('is-hidden'); | |
// http://www.joezimjs.com/javascript/3-ways-to-parse-a-query-string-in-a-url/ | |
var parseQueryString = function( queryString ) { | |
var params = {}, queries, temp, i, l; |
NewerOlder