Skip to content
Snippets Groups Projects
Commit d67c8dce authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #612 from greezybacon/issue/thread-image-float


Preserve inline image floating in ticket thread

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 12da45f9 498f0e2c
No related branches found
No related tags found
No related merge requests found
...@@ -136,7 +136,8 @@ showImagesInline = function(urls, thread_id) { ...@@ -136,7 +136,8 @@ showImagesInline = function(urls, thread_id) {
e = $(el); e = $(el);
if (info) { if (info) {
// Add a hover effect with the filename // Add a hover effect with the filename
var timeout, caption = $('<div class="image-hover">'); var timeout, caption = $('<div class="image-hover">')
.css({'float':e.css('float')});
e.wrap(caption).parent() e.wrap(caption).parent()
.hover( .hover(
function() { function() {
......
...@@ -430,7 +430,8 @@ showImagesInline = function(urls, thread_id) { ...@@ -430,7 +430,8 @@ showImagesInline = function(urls, thread_id) {
e = $(el); e = $(el);
if (info) { if (info) {
// Add a hover effect with the filename // Add a hover effect with the filename
var timeout, caption = $('<div class="image-hover">'); var timeout, caption = $('<div class="image-hover">')
.css({'float',e.css('float')});
e.wrap(caption).parent() e.wrap(caption).parent()
.hover( .hover(
function() { function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment