MediaWiki:Common.js: Unterschied zwischen den Versionen

aus Memory Alpha, der freien deutschen Star-Trek-Datenbank
Spring zu: Navigation, suche
imported>Shisma
(neu angelegt)
imported>Shisma
(fix)
Zeile 1: Zeile 1:
 
(function ($) {
 
(function ($) {
 
   $(function() {
 
   $(function() {
     var sidebarjs = t('<script type="text/javascript" />');
+
     var sidebarjs = $('<script type="text/javascript" />');
 
     sidebarjs.attr('src', 'http://de.memory-alpha.org/wiki/MediaWiki:Fusion/scripts/Sidebar.js?action=raw&ctype=text/javascript');
 
     sidebarjs.attr('src', 'http://de.memory-alpha.org/wiki/MediaWiki:Fusion/scripts/Sidebar.js?action=raw&ctype=text/javascript');
 
     $('head').append(sidebarjs);
 
     $('head').append(sidebarjs);
 
   });
 
   });
 
})(jQuery);
 
})(jQuery);

Version vom 27. August 2012, 19:56 Uhr

(function ($) {
  $(function() {
    var sidebarjs = $('<script type="text/javascript" />');
    sidebarjs.attr('src', 'http://de.memory-alpha.org/wiki/MediaWiki:Fusion/scripts/Sidebar.js?action=raw&ctype=text/javascript');
    $('head').append(sidebarjs);
  });
})(jQuery);