Skip to content

Commit b428e46

Browse files
committed
replaces outdated jQuery.browser call with feature detection
Fixes #69.
1 parent 8a512b3 commit b428e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.fn.gantt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
// Normalizes for IE
186186
elementFromPoint: function (x, y) {
187187

188-
if ($.browser.msie) {
188+
if (!$.support.boxModel) {
189189
x -= $(document).scrollLeft();
190190
y -= $(document).scrollTop();
191191
} else {

0 commit comments

Comments
 (0)