projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5da8262
)
Erreur history.pushState (IE8) passées silencieuses.
author
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 9 Jul 2014 09:00:35 +0000
(11:00 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 9 Jul 2014 09:00:35 +0000
(11:00 +0200)
skins/ajax_scripts/javascript_events_api.js
patch
|
blob
|
history
diff --git
a/skins/ajax_scripts/javascript_events_api.js
b/skins/ajax_scripts/javascript_events_api.js
index
4e721e2
..
bff4300
100644
(file)
--- a/
skins/ajax_scripts/javascript_events_api.js
+++ b/
skins/ajax_scripts/javascript_events_api.js
@@
-27,6
+27,9
@@
var getCopyOfNode; /* (node) returns a clone of the given node.
* to inject HMTL code inside tags where innerHtml is read only (IE)
*/
var copyPrototype; // (descendant, parent) lightwheight javascript inheritance
+if (!history.pushState) {
+ history.pushState = function(){};
+}
(function(){