You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my blog I added a little bit of jQuery to check if the image element has an anchor as it's parent, and if so, don't generate the fluidbox anchor, rather, go to the Url of the anchor. Would like to see this added properly (we only have access to the minified version)
e.aTagWrap = function(t, n) {
if (e.elemExists(t)) {
var a = $(t);
a.length > 0 && a.each(function() {
var e = $(this),
t = e.attr("src"),
a = "";
if ($(e).parent('a').length > 0) {
return false
}
a = "<a class='" + n + "' href='" + t + "'></a>", e.wrap(a)
})
}
The text was updated successfully, but these errors were encountered:
For my blog I added a little bit of jQuery to check if the image element has an anchor as it's parent, and if so, don't generate the fluidbox anchor, rather, go to the Url of the anchor. Would like to see this added properly (we only have access to the minified version)
The text was updated successfully, but these errors were encountered: