Skip to content

Commit

Permalink
Merge pull request #612 from greezybacon/issue/thread-image-float
Browse files Browse the repository at this point in the history
Preserve inline image floating in ticket thread

Reviewed-By: Peter Rotich <peter@osticket.com>
  • Loading branch information
protich committed Feb 27, 2014
2 parents 12da45f + 498f0e2 commit d67c8dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion js/osticket.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ showImagesInline = function(urls, thread_id) {
e = $(el);
if (info) {
// 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()
.hover(
function() {
Expand Down
3 changes: 2 additions & 1 deletion scp/js/ticket.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,8 @@ showImagesInline = function(urls, thread_id) {
e = $(el);
if (info) {
// 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()
.hover(
function() {
Expand Down

0 comments on commit d67c8dc

Please sign in to comment.