Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nroutasuo/level13
Browse files Browse the repository at this point in the history
  • Loading branch information
nroutasuo committed Feb 6, 2020
2 parents 2799f4c + 0cc7748 commit 889106b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions css/modules/base-classes.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
display: none;
}

.unselectable {
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+/Edge */
user-select: none; /* Standard */
}

.full-width {
width: 100%;
}
Expand Down
2 changes: 1 addition & 1 deletion src/game/helpers/PlayerActionResultsHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ define([
}

if (resultVO.gainedResources.getTotal() > 0 || resultVO.gainedItems.length > 0 || !isInitialSelectionValid) {
var baghtml = "<div id='resultlist-inventorymanagement'>";
var baghtml = "<div id='resultlist-inventorymanagement' class='unselectable'>";

baghtml += "<div id='resultlist-inventorymanagement-found' class='infobox inventorybox'>";
baghtml += "<ul></ul>";
Expand Down

0 comments on commit 889106b

Please sign in to comment.