use pikaday element instead of child element when comparing against trigger element
Merge pull request #166 from alanhamlett/master

use pikaday element instead of child element when comparing against trigger element