iki tane link alt alta mevcut sadece bu kodu 1. linke uygulamak istiyorum nasıl yaparım ?
Kod
addGroup: function(a, c) {
var d = function(d) {
d.mfpEl = this, b._openClick(d, a, c);
};
c || (c = {});
var e = "click.magnificPopup";
c.mainEl = a, c.items ? (c.isObj = !0, a.off(e).on(e, d)) : (c.isObj = !1, c.delegate ? a.off(e).on(e, c.delegate, d) : (c.items = a,
a.off(e).on(e, d)));
},
_openClick: function(c, d, e) {
var f = void 0 !== e.midClick ? e.midClick : a.magnificPopup.defaults.midClick;
if (f || !(2 === c.which || c.ctrlKey || c.metaKey || c.altKey || c.shiftKey)) {
var g = void 0 !== e.disableOn ? e.disableOn : a.magnificPopup.defaults.disableOn;
if (g) if (a.isFunction(g)) {
if (!g.call(b)) return !0;
} else if (v.width() < g) return !0;
c.type && (c.preventDefault(), b.isOpen && c.stopPropagation()), e.el = a(c.mfpEl),
e.delegate && (e.items = d.find(e.delegate)), b.open(e);
}
},