Permalink
Browse files

Use val() for inputs, text() for other elements

IE8 and IE7 were showing "Unexpected call to method or property access"
JavaScript errors due to calling .text() on an input element.
  • Loading branch information...
davidduffett committed Aug 22, 2012
1 parent bd16187 commit 5e1d2f1799f51a2800c12879bc5d872f6c10762b
Showing with 7 additions and 2 deletions.
  1. +7 −2 jquery.slugify.js
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 5e1d2f1

Please sign in to comment.