Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
c407341d70
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 {