From 1fbec0a03a6574ac48ea9ec2291d35300574401b Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Fri, 21 Feb 2014 22:26:46 -0600
Subject: [PATCH] oops: Fix hover and download of inline images (again)

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

diff --git a/scp/js/ticket.js b/scp/js/ticket.js
index aa808746c..29030153a 100644
--- a/scp/js/ticket.js
+++ b/scp/js/ticket.js
@@ -433,7 +433,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