Skip to content

Commit

Permalink
minor z-index bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwoo committed Jun 6, 2011
1 parent ab5d30b commit 1669279
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function socket_message(obj) {
(function (old) {
var offsx = old.offset().left - replace.offset().left
, offsy = old.offset().top - replace.offset().top;
replace.css('z-index', '10');
replace.css('z-index', '3');
replace.animate({
transform: 'translateX(' + offsx + 'px) translateY(' + offsy + 'px) rotate(360deg)'}
, { duration: 1250
Expand All @@ -314,7 +314,7 @@ function socket_message(obj) {
, offsx = xconst + p.offset().left - dupe.offset().left
, offsy = yconst + p.offset().top - dupe.offset().top;
dupe.removeClass('selected');
dupe.css('z-index', '10');
dupe.css('z-index', '3');
dupe.animate({
transform: 'translateX(' + offsx + 'px) translateY(' + offsy + 'px) rotate(450deg) scale(0.45)'}
, { duration: 1000
Expand Down
2 changes: 1 addition & 1 deletion client/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ textarea {
-moz-opacity: .70;
filter:alpha(opacity=70);
opacity: .70;
z-index: 2;
z-index: 4;
}
#chat {
margin-top: 5px;
Expand Down

0 comments on commit 1669279

Please sign in to comment.