projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a5bb66
)
move hairline to top on click
author
Dan Vanderkam
<danvdk@gmail.com>
Mon, 1 Jul 2013 03:42:49 +0000
(23:42 -0400)
committer
Dan Vanderkam
<danvdk@gmail.com>
Mon, 1 Jul 2013 03:42:49 +0000
(23:42 -0400)
extras/hairlines.js
patch
|
blob
|
blame
|
history
diff --git
a/extras/hairlines.js
b/extras/hairlines.js
index
255edd5
..
5252026
100644
(file)
--- a/
extras/hairlines.js
+++ b/
extras/hairlines.js
@@
-121,6
+121,9
@@
hairlines.prototype.createHairline = function(props) {
self.hairlineWasDragged(h, event, ui);
}
// TODO(danvk): set cursor here
+ })
+ .on('click', function() {
+ self.moveHairlineToTop(h);
});
h = $.extend({