From a0bcc8fdffa1bb222c6d4d3fa39db9eca0977aca Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Thu, 20 Feb 2014 08:28:10 -0600
Subject: [PATCH] Fix hover and download of inline images

---
 js/osticket.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/osticket.js b/js/osticket.js
index d55ea886c..69839eb3b 100644
--- a/js/osticket.js
+++ b/js/osticket.js
@@ -131,7 +131,7 @@ showImagesInline = function(urls, thread_id) {
         ? '.thread-body img[data-cid]'
         : '.thread-body#thread-id-'+thread_id+' img[data-cid]';
     $(selector).each(function(i, el) {
-        var cid = $(el).data('cid'),
+        var cid = $(el).data('cid').toLowerCase(),
             info = urls[cid],
             e = $(el);
         if (info) {
-- 
GitLab