Skip to content

Commit

Permalink
Fixed a little bit bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
sarutak committed Apr 24, 2015
1 parent a36291b commit d3c63c8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,7 @@ tr.corresponding-item-hover>td, tr.corresponding-item-hover>th {
.control-panel {
margin-bottom: 5px;
}

span.expand-application-timeline, span.expand-job-timeline {
cursor: pointer;
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,16 @@ function drawJobTimeline(groupArray, eventObjArray, startTime) {

$(this).hover(
function() {
$("#stage-" + getStageId(this)).addClass("corresponding-item-hover");
var idAndAttempt = getStageIdAndAttempt(this);
var id = idAndAttempt[0];
var attempt = idAndAttempt[1];
$("#stage-" + id + "-" + attempt).addClass("corresponding-item-hover");
},
function() {
$("#stage-" + getStageId(this)).removeClass("corresponding-item-hover");
var idAndAttempt = getStageIdAndAttempt(this);
var id = idAndAttempt[0];
var attempt = idAndAttempt[1];
$("#stage-" + id + "-" + attempt).removeClass("corresponding-item-hover");
}
);
});
Expand Down

0 comments on commit d3c63c8

Please sign in to comment.