Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow empty alt tags
  • Loading branch information
Roy committed Feb 1, 2017
1 parent 3c8e934 commit 90be76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/cs.js
Expand Up @@ -194,7 +194,7 @@ jQuery(document).ready(function($) {
}
$('#page img').each(function(){
alt = $(this).attr('alt')
if (alt){
if (undefined != alt){
alt = alt.toLowerCase()
//console.log('alt='+alt)
if (alt.indexOf('.jpg') >= 0 || alt.indexOf('.png') >= 0 || alt.indexOf('.gif') >= 0 ){
Expand Down

0 comments on commit 90be76e

Please sign in to comment.