-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue-51: Resolved IE10 table insertion issue #52
Conversation
Please fix Travis first. |
src/js/grid.js
Outdated
}, | ||
active = this._currentCell && | ||
cell.row <= this._currentCell.row && | ||
cell.column <= this._currentCell.column; | ||
|
||
if (active === true) { | ||
el.classList.add('active'); | ||
if ('classList' in document.createElement('div')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't you do if ('classList' in el) {
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, will do that change.
src/js/grid.js
Outdated
@@ -92,15 +100,15 @@ Grid.prototype = { | |||
var self = this, | |||
timer; | |||
|
|||
el.addEventListener('mouseenter', function () { | |||
el.addEventListener('mouseenter', function (e) { | |||
clearTimeout(timer); | |||
|
|||
var dataset = this.dataset; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you don't use dataset, I think you can remove that line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
issue-51: Resolved IE10 table insertion issue (yabwe#52)
@j0k3r Please find pull request for #51