Bonjour,

J'ai utilisé un script me permettant d'afficher un Tweet sans son image mais le script marche tout bien sur Chrome mais bloque la page sous IE (on ne peut plus descendre dans la page) et il n'y a pas d'erreur particulière dans la console.

Une idée du problème?

Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
<div class="twitter-block">
<a class="twitter-timeline" data-chrome="noheader nofooter" data-tweet-limit="1" href="https://twitter.com/MONTWEET">Tweets </a> 
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
 
<script>
$('.twitter-block').delegate('#twitter-widget-0','DOMSubtreeModified propertychange', function() {
  //function call to override the base twitter styles
  customizeTweetMedia();
 });
 
 var customizeTweetMedia = function() {
 
  //overrides font styles and removes the profile picture and media from twitter feed
  jQuery('.twitter-block').find('.twitter-timeline').contents().find('.timeline-Tweet-media').css('display', 'none');
  
  //also call the function on dynamic updates in addition to page load
  jQuery('.twitter-block').find('.twitter-timeline').contents().find('.timeline-TweetList').bind('DOMSubtreeModified propertychange', function() {
   customizeTweetMedia(this);
});
}
</script>

Merci