Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request weblab#151 from jmr06005/master
Allow empty alt tags
  • Loading branch information
jmr06005 committed Feb 15, 2017
2 parents 627f8ac + 90be76e commit e3e2fa0
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 e3e2fa0

Please sign in to comment.