Ver a proveniência

fixed

tags/v0.1.11
notme há 6 anos
ascendente
cometimento
583b589923
1 ficheiros alterados com 3 adições e 3 eliminações
  1. +3
    -3
      src/client/js/main.js

+ 3
- 3
src/client/js/main.js Ver ficheiro

@@ -58,11 +58,11 @@ define([
window.onblur = this.onFocus.bind(this, false);
$(window).on('contextmenu', function (e) {
var allowedList = ['txtUsername', 'txtPassword'];
var allowed = allowedList.some(function(item) {
return e.target.hasClass(item);
return e.target.classList.contains(item);
});
if(!allowed) {
e.preventDefault();
return false;


Carregando…
Cancelar
Guardar