Skip to content

Commit

Permalink
Update ajax.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MonstaApps committed Jun 29, 2016
1 parent 7ad08dd commit e0fecaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ajax.js
Expand Up @@ -77,7 +77,7 @@ function listenDropFiles() {

function listenContextMenu() {

if (globalBrowser == "ie")
if (globalBrowser == "ie10+" || globalBrowser == "ie9-")
document.attachEvent("onclick", hideFileContextMenu);
else
document.addEventListener("click", hideFileContextMenu, true);
Expand Down Expand Up @@ -989,7 +989,7 @@ function actionFunctionLogout() {

function selectFile(theId, checkIE) {

if (checkIE == 0 || (checkIE == 1 && globalBrowser != "ie")) {
if (checkIE == 0 || (checkIE == 1 && globalBrowser != "ie10+" && globalBrowser != "ie9-")) {

// Remove any existing borders
unselectFiles();
Expand Down

0 comments on commit e0fecaa

Please sign in to comment.