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
{
key: "isValidLink",
value: function isValidLink(element) {
if (element.hasAttribute("data-disable-click")) {
return false; // Prevent the link from being valid
}
//...rest of it
}
},
Of course, you should make data-disable-click configurable.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
But we need those images in the gallery.
Can we do that?
Can you change isValidLink to be like this:
Of course, you should make
data-disable-click
configurable.Thanks
Beta Was this translation helpful? Give feedback.
All reactions