Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Handle .jpeg links in the same manner as .jpg #112

Merged
merged 1 commit into from

2 participants

@cwc

No description provided.

@thedjpetersen thedjpetersen merged commit d49255a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 30, 2012
  1. @cwc
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  assets/js/utils.js
View
2  assets/js/utils.js
@@ -52,7 +52,7 @@ window.utils = {
}
//Add embedded images
- if (jQuery.inArray(href.substr(-3), ['jpg', 'gif', 'png']) > -1){
+ if (jQuery.inArray(href.substr(-3), ['jpg', 'gif', 'png']) > -1 || jQuery.inArray(href.substr(-4), ['jpeg']) > -1) {
parsed = parsed.split('</div><div class=\"chat-time\">').join(ich.image_embed({link:href}, true) + '</div><div class=\"chat-time\">');
}
}
Something went wrong with that request. Please try again.