X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=js%2F90-webchat-link.js;h=fe3831ad1bc58dffe824099946ca317bb23c7ce3;hb=68b0f287c76694f2935b6039a42d6359287f4c4f;hp=77d8fb4720782d8cc803020f3551f99a875ac155;hpb=bd5ea970657ae9a16ed69748ce9e3feb361c658a;p=plack-app-gruntmaster.git diff --git a/js/90-webchat-link.js b/js/90-webchat-link.js index 77d8fb4..fe3831a 100644 --- a/js/90-webchat-link.js +++ b/js/90-webchat-link.js @@ -1,7 +1 @@ -(function(){ - 'use strict'; - - $( document ).ready(function() { - $('#webchat').prependTo('#sidebar'); - }); -})(); +$(() => $('#sidebar')[0].insertBefore($('#webchat')[0], $('#sidebar')[0].firstChild));