Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #376275

    Hey guys, really submitting this as a bug fix / feedback.

    When making a new post, we came across an issue that when we had the word “Gift” in the blog title, the hover effect on the featured image wouldn’t work. Finally found the issue after an a bunch of hunting. Website for reference: http://www.sweetsleep.org/blog

    in /enfold/js/avia.js line 560:

    if( url.match(/(jpg|gif|jpeg|png|tif)/) ) span_class = “overlay-type-image”;
    if(!url.match(/(jpg|gif|jpeg|png|\.tif|\.mov|\.swf|vimeo\.com|youtube\.com)/) ) span_class = “overlay-type-extern”;

    This works as:

    if( url.match(/(\.jpg|\.gif|\.jpeg|\.png|\.tif)/) ) span_class = “overlay-type-image”;
    if(!url.match(/(\.jpg|\.gif|\.jpeg|\.png|\.tif|\.mov|\.swf|vimeo\.com|youtube\.com)/) ) span_class = “overlay-type-extern”;

    Logan & Mason Dickerson
    Legends Hill

    #376544

    Hey Aaron!

    I can’t seem to reproduce it on my end. Do you mean when “gift” is used in the image filename?

    Best regards,
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.