standard jquery

This commit is contained in:
Shish
2020-03-02 17:12:43 +00:00
parent ca462d86f1
commit 5058e1f3fd
13 changed files with 13 additions and 15 deletions

View File

@ -1,6 +1,6 @@
/*jshint bitwise:true, curly:true, forin:false, noarg:true, noempty:true, nonew:true, undef:true, strict:false, browser:true, jquery:true */
$(function() {
document.addEventListener('DOMContentLoaded', () => {
$('#order_pool').change(function(){
var val = $("#order_pool option:selected").val();
Cookies.set("shm_ui-order-pool", val, {path: '/', expires: 365}); //FIXME: This won't play nice if COOKIE_PREFIX is not "shm_".