document.getElementById called with empty string #7589

staabm opened this Issue Jul 25, 2014 · 0 comments


None yet

2 participants

staabm commented Jul 25, 2014

on a initial page load, where the url doesn't contain a hash, firefox outputs a warning that document.getElementById was called with an empty String argument

this is caused by line
hashPage = document.getElementById( hash );

jquery-mobile 1.4.2
jquery 1.11.0

@gabrielschulhof gabrielschulhof added this to the 1.4.4 milestone Jul 29, 2014
@gabrielschulhof gabrielschulhof self-assigned this Jul 29, 2014
@agcolom agcolom added a commit to agcolom/jquery-mobile that referenced this issue Nov 26, 2014
@gabrielschulhof @agcolom gabrielschulhof + agcolom Init: Eliminate FF warning
Fixes gh-7589
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment