Skip to content

Commit

Permalink
oops, reverted some debugging code that got committed
Browse files Browse the repository at this point in the history
  • Loading branch information
trey0 committed Aug 20, 2011
1 parent 596d9b5 commit 0ff6fdb
Showing 1 changed file with 12 additions and 31 deletions.
43 changes: 12 additions & 31 deletions geocamAware/static/geocamAware/js/GalleryWidget.js
Expand Up @@ -145,37 +145,18 @@ geocamAware.GalleryWidget = new Class(
if (i < visibleFeatures.length) {
var feature = visibleFeatures[i];
var td = $("#galleryTd_" + feature.uuid);
if (0) {
td.hover(
function(uuid) {
return function() {
geocamAware.setHighlightedFeature(uuid);
}
}(feature.uuid),
function(uuid) {
return function() {
geocamAware.clearHighlightedFeature();
}
}(feature.uuid)
);
} else {
td.mouseover(
function (uuid) {
return function(evt) {
geocamAware.setHighlightedFeature(uuid);
evt.stopPropagation();
}
}(feature.uuid)
);
td.mouseout(
function (uuid) {
return function(evt) {
geocamAware.clearHighlightedFeature();
evt.stopPropagation();
}
}(feature.uuid)
);
}
td.hover(
function(uuid) {
return function() {
geocamAware.setHighlightedFeature(uuid);
}
}(feature.uuid),
function(uuid) {
return function() {
geocamAware.clearHighlightedFeature();
}
}(feature.uuid)
);
td.click(
function(uuid) {
return function() {
Expand Down

0 comments on commit 0ff6fdb

Please sign in to comment.