Browse Source

Prevent dragging of background image (#425)

There are many ways to do this (https://stackoverflow.com/questions/4211909/disable-dragging-an-image-from-an-html-page), so I just choose this one. It may also prevent other useless things of the background image.

Tested in Firefox 58.
rugk 7 years ago
parent
commit
c407341d70
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/sass/layout/_main.scss

+ 1 - 0
src/sass/layout/_main.scss

@@ -10,6 +10,7 @@
     -moz-user-select: none;
     -webkit-user-select: none;
     user-select: none;
+    pointer-events: none;
 }
 
 #main-wrapper {