projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d74c9b1
)
Remove debugging
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 15 Mar 2010 18:24:11 +0000
(12:24 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 15 Mar 2010 18:24:11 +0000
(12:24 -0600)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
b7dd6f6
..
e09f152
100644
(file)
--- a/
kronolith/js/kronolith.js
+++ b/
kronolith/js/kronolith.js
@@
-1500,11
+1500,9
@@
KronolithCore = {
nodrop: true,
parentElement: function() { return $(view == 'day' ? 'kronolithEventsDay' : 'kronolithEventsWeek' + date); },
snap: function(x, y) {
-console.log(x);
x = (view == 'week')
? Math.max(minLeft, stepX * ((Math.min(maxLeft, x - (x < 0 ? stepX : 0)) + stepX / 2) / stepX | 0))
: 0;
-console.log(x);
y = Math.max(0, step * (Math.min(maxDiv, y) / step | 0));
return [x, y];
}