User:TheDoctor8910/common.js: Difference between revisions
Want an adless experience? Log in or Create an account.
No edit summary |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
$(document).ready(() | $(document).ready(function($) { | ||
$(window).on("load", function() { | |||
if (window.console) { | |||
console.log("running user JS"); | |||
} | |||
$('#check-desktop').css("display", "block"); | |||
$('#check-mobile').css("display", "none"); | |||
$('#check-tablet').css("display", "none"); | |||
}); | |||
}); |
Latest revision as of 14:59, April 27, 2021
$(document).ready(function($) { $(window).on("load", function() { if (window.console) { console.log("running user JS"); } $('#check-desktop').css("display", "block"); $('#check-mobile').css("display", "none"); $('#check-tablet').css("display", "none"); }); });