Skip to content

Commit

Permalink
Restoring rubber-banding to draggable tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheldon McKay committed Jan 12, 2010
1 parent 220ee9f commit a002424
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion htdocs/js/detailSelect.js
Expand Up @@ -13,7 +13,7 @@ var detailBalloon;

// Constructor
var Details = function () {
this.imageId = 'composite_track';
this.imageId = 'detail_image';
this.marginTop = '35px';
this.background = 'blue';
this.fontColor = 'white';
Expand All @@ -29,6 +29,10 @@ Details.prototype.initialize = function() {
var self = new Details;

var i = document.getElementById(self.imageId);
if (!i) {
i = document.getElementById('composite_track');
}

if (!i) return false;

i = self.replaceImage(i);
Expand Down

0 comments on commit a002424

Please sign in to comment.