From bec4e31ea85e53445d29490824fb61035cccfe75 Mon Sep 17 00:00:00 2001 From: s1nical Date: Fri, 16 Aug 2019 05:58:53 -0700 Subject: various removals, fixes, changes - remove license, readme - update humans - resources > doc - todo.todo > spike/todo.todo - mobile excludes for space invaders and wolf3d --- wolf3d/js/main.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 wolf3d/js/main.js (limited to 'wolf3d/js') diff --git a/wolf3d/js/main.js b/wolf3d/js/main.js new file mode 100644 index 0000000..5807029 --- /dev/null +++ b/wolf3d/js/main.js @@ -0,0 +1,4 @@ +// CHECKS IF USER IS ON MOBILE +if (screen.width <= 480) { + location.href = '/mobile'; +} \ No newline at end of file -- cgit v1.2.3