Board Thread:Support Requests - Getting Technical/@comment-3398493-20180328214739

Hi! I am having the following code for this template in my wiki. However I don't know where to put it... In the Common.js will the code work?

$(document).ready(function { setInterval(function { var A = $('.game-sliders').scrollLeft; if (A < 993) { $('.game-sliders').animate({       scrollLeft: '+=331px'      }, 300); }   if (A >= 993) { $('.games-liders').delay(400).animate({       scrollLeft: 0      }, 300); } }, 3000); }); 