devote / HTML5-History-API

HTML5 History API expansion for browsers not supporting pushState, replaceState
http://spb-piksel.ru
MIT License
1.02k stars 182 forks source link

Problem with jQuery 2.0 #21

Closed mariansollmann closed 11 years ago

mariansollmann commented 11 years ago

Hello Dmitrii,

i use our script with jQuery 2.0, but i become an error:

in your script because of the line 431

list[ i ].call( window, o );

in jQuery 2.0 the line 4757

if ( event.target.nodeType === 3 ) {

because the event has no target. Do you have any suggest how to fix this?

Regards, Marian

devote commented 11 years ago

Hi!

jQuery version 2.0 not support old IЕ but in older IE there is no property in the event object Таргет

Use jQuery below the second version

mariansollmann commented 11 years ago

Hi,

thanks for your answer.

I use the latest Chrome Browser, but i have the same Problem. I think the Event you create has no traget. Is it possible to change this?

devote commented 11 years ago

Is it possible to change this?

fixed

mariansollmann commented 11 years ago

Hi,

thanks for fixing this so quickly. Now it works.

Regards.