Skip to content

Commit

Permalink
Update bookmarklet_param_desc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusPele authored Mar 17, 2022
1 parent 3b74bc8 commit 8747ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bookmarklet_param_desc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ javascript: (function() {
$("svg[role=img]").each(function() {
if($(this).children('desc').length){
var idsvg = $(this).attr('id')
$(this).before("<span class=\"altSpan\" style=\"outline:orange 2px dashed;padding:1px;color:black;font-family:sans-serif;font-weight:bold;font-size:small;background-color:yellow;position:absolute;line-height:100%;z-index:2147483647;speak: literal-punctuation;\">GRAPHIQUE👍desc=\""+$('svg[id='+idsvg+'] > desc:first-of-type')+"\"❓</span>");
$(this).before("<span class=\"altSpan\" style=\"outline:orange 2px dashed;padding:1px;color:black;font-family:sans-serif;font-weight:bold;font-size:small;background-color:yellow;position:absolute;line-height:100%;z-index:2147483647;speak: literal-punctuation;\">GRAPHIQUE👍desc=\""+$('svg[id='+idsvg+'] > desc:first-of-type').text()+"\"❓</span>");
}else {
$(this).before("<span class=\"altSpan\" style=\"outline:red 2px solid;padding:1px;color:black;font-family:sans-serif;font-weight:bold;font-size:small;background-color:yellow;position:absolute;line-height:100%;z-index:2147483647;border-bottom:2px solid blue;\">GRAPHIQUE❌NO DESC</span>");
}
Expand Down

0 comments on commit 8747ef4

Please sign in to comment.