MediaWiki:Common.js: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 6: | Line 6: | ||
}); | }); | ||
}); | }); | ||
if (!document.querySelector('script[src*="platform.twitter.com/widgets.js"]')) { | |||
var s = document.createElement('script'); | |||
s.async = true; | |||
s.src = 'https://platform.twitter.com/widgets.js'; | |||
document.head.appendChild(s); | |||
} | |||