Skip to content

Instantly share code, notes, and snippets.

@lsolesen
Created April 4, 2014 15:07
Show Gist options
  • Save lsolesen/9976591 to your computer and use it in GitHub Desktop.
Save lsolesen/9976591 to your computer and use it in GitHub Desktop.
Index: js/jquery.pwi.js
===================================================================
--- js/jquery.pwi.js (revision 340)
+++ js/jquery.pwi.js (working copy)
@@ -293,7 +293,7 @@
else {
$html.append("<a class='" + (settings.popupPlugin === "fancybox" ?
"fancybox.iframe" : "iframe") +
- "' href='http://www.youtube.com/embed/" + $youtubeId +
+ "' href='//www.youtube.com/embed/" + $youtubeId +
"?autoplay=1&rel=0&hd=1&autohide=1' rel='yt-" + username +
"' title='" + $title + "'><img id='main' src='" + $thumbnail0.url +
"' alt='" + settings.labels.photo + "' height='" + $thumbnail0.height +
@@ -307,7 +307,7 @@
(j.georss$where) && (j.georss$where.gml$Point) && (j.georss$where.gml$Point.gml$pos)) {
var $locationLink = $("<a class='" +
(settings.popupPlugin === "fancybox" ? "fancybox.iframe" : "iframe") +
- "' href='http://maps.google.com/?output=embed&t=h&z=15&q=" +
+ "' href='//maps.google.com/?output=embed&t=h&z=15&q=" +
j.georss$where.gml$Point.gml$pos.$t +
"' rel='map-" + username + "'>" +
"<img src='" + settings.mapIconLocation + "' alt='map'></a>");
@@ -959,7 +959,7 @@
};
$.fn.pwi.strings = {
clearDiv: "<div style='clear: both;height:0px;'/>",
- picasaUrl: "http://picasaweb.google.com/data/feed/api/user/"
+ picasaUrl: "//picasaweb.google.com/data/feed/api/user/"
};
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment