Common.js: Difference between revisions
From DT Online
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
$(function() | $(function() | ||
{ | { | ||
if($('.buyers-guide').length && $('#mw-pages').length) $('.buyers-guide').insertAfter($('#mw-pages')) | if($('.buyers-guide-wrapper').length && $('#mw-pages').length) $('.buyers-guide-wrapper').insertAfter($('#mw-pages')) | ||
} | } | ||
); | ); |
Revision as of 14:33, 2 November 2016
/* Any JavaScript here will be loaded for all users on every page load. */ $(function() { if($('.buyers-guide-wrapper').length && $('#mw-pages').length) $('.buyers-guide-wrapper').insertAfter($('#mw-pages')) } );