Skip to content

Commit

Permalink
Remove img from table elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Jauslin committed Jan 7, 2016
1 parent 3b189c6 commit a05c2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Inky.prototype = {
// Returns:
// boolean: true/false
isTableElement: function(elType) {
var tableEls = ['td', 'tr', 'table', 'center', 'tbody', 'img'];
var tableEls = ['td', 'tr', 'th', 'table', 'center', 'tbody'];

// if the element is an element that comes with td
if (tableEls.indexOf(elType) > -1) {
Expand Down

0 comments on commit a05c2bf

Please sign in to comment.