Home › Forums › JavaScript › Update title of dynamically-loaded page? › Reply To: Update title of dynamically-loaded page?
January 31, 2016 at 5:21 am
#237526
Shikkediel
Participant
Why wouldn’t it update the url? There’s a line for that :
history.pushState(null, null, _href);
You don’t really need Modernizr, this’ll do the same :
if (history.pushState !== 'undefined')
Did you add that plugin to begin with by the way?
The page was written a while back, at this point it would be better to use .on()
everywhere instead of .delegate()
and such…