l2j_mobius/Account_Manager/js/scripts.js
MobiusDev d98492c94e Account manager initial commit.
Contributed by Liamxroy.
2018-03-21 00:11:54 +00:00

23 lines
574 B
JavaScript

$(window).on('load', function() {
"use strict";
});
var $document = $(document);
$document.ready(function() {
$document.on('click', '.stat-1', function(e) {
e.preventDefault();
var statLink = $(this).attr('data-target');
window.location = statLink;
});
$document.on('click', '.stat-2', function(e) {
e.preventDefault();
var statLinkS = $(this).attr('data-target');
window.location = statLinkS;
});
$document.on('click', '.langs > a', function(e) {
$.cookie('lang', $(this).data('lang'), {
expires: 365,
path: '/'
});
location.reload();
});
});