Remove extraneous DOM query
Merge pull request #1600 from daytonn/master

Remove extra DOM query