Skip to content

Commit

Permalink
Fixed: Alt triggered on actual OK text in alt tag #29
Browse files Browse the repository at this point in the history
  • Loading branch information
DixonsCarphoneCRM committed Jan 31, 2019
1 parent ff8cd46 commit cde41f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $(window).on("load", function() {
var wrapperClass = "body > table";
$(wrapperClass).addClass("content");
// Pseudo tooltip for images ALT: DIV only appears based on these conditions
$("img[alt*='£'], [alt*='&'], [alt*='#'], [alt*='alt']").wrap( "<div class='fauxImg'></div>" );
$("img[alt*='£'], [alt*='&'], [alt*='#']").wrap( "<div class='fauxImg'></div>" );

// Whitelisted domains URLs for the checks:
var currysD = "a[href*='www.currys.co.uk']",
Expand Down

0 comments on commit cde41f4

Please sign in to comment.