Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remoting onclick on containers which didn't do anything
  • Loading branch information
Mano Marks committed Aug 15, 2017
commit 2f8472f7382db68bc7245a3423fc493388ce098c
10 changes: 5 additions & 5 deletions src/vis-physical/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ container

container.on('mouseenter',null);
container.on('mouseleave',null);
container.on('click', function(){
if (d3.select(this)[0][0].__data__.link){
showContainer(d3.select(this)[0][0].__data__.link)
}
});
// container.on('click', function(){
// if (d3.select(this)[0][0].__data__.link){
// showContainer(d3.select(this)[0][0].__data__.link)
// }
// });


cluster.exit().remove();
Expand Down
1 change: 0 additions & 1 deletion src/vis-physical/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@
border-radius: 3px;
// border: 2px solid white;
font-size: 10px;
cursor: pointer;
line-height: 24px;
text-align: center;
text-overflow: ellipsis;
Expand Down