Permalink
Browse files

Fixed Node.TEXT_NODE to integer. Closes #1

  • Loading branch information...
1 parent 5ef7e0a commit d2cda2e6e270f67a529b20b53412bb2eaf6ee2bc @pvdspek committed May 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/jquery.autoellipsis.js
@@ -346,7 +346,7 @@
* @private
*/
function textNodeFilter() {
- return this.nodeType == Node.TEXT_NODE;
+ return this.nodeType === 3;
}
/**

0 comments on commit d2cda2e

Please sign in to comment.