summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-11-15 21:42:43 +0100
committermsquare <msquare@notrademark.de>2016-11-15 21:42:43 +0100
commit54f3253c32d53bd9642132e45e1c7caab2eae233 (patch)
treeebde9345d9b1c3dd7e63cc528e655e837cf10500 /public
parent3e5316e0c1eb76a01c1f968126309857541e46e4 (diff)
fix js var names
Diffstat (limited to 'public')
-rw-r--r--public/js/shift-calendar.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/public/js/shift-calendar.js b/public/js/shift-calendar.js
index 357b69ff..80072e58 100644
--- a/public/js/shift-calendar.js
+++ b/public/js/shift-calendar.js
@@ -3,12 +3,12 @@
*/
$(document).ready(
function() {
- var time_lanes = $(".shift-calendar .time");
+ var timeLanes = $(".shift-calendar .time");
var headers = $(".shift-calendar .header");
- var top_reference = $(".container-fluid .row");
+ var topReference = $(".container-fluid .row");
var top = headers.offset().top;
var left = 15;
- time_lanes.css({
+ timeLanes.css({
"position" : "relative",
"z-index" : 1000
});
@@ -18,12 +18,12 @@ $(document).ready(
});
$(window).scroll(
function() {
- time_lanes.css({
+ timeLanes.css({
"left" : Math.max(0, $(window).scrollLeft() - left) + "px"
});
headers.css({
"top" : Math.max(0, $(window).scrollTop() - top
- + top_reference.offset().top)
+ + topReference.offset().top)
+ "px"
});
});