Skip to content

Commit

Permalink
Merge pull request #169 from Stivo182/fix/71-disabling-selection
Browse files Browse the repository at this point in the history
Отключение автоматического выделения результата
  • Loading branch information
Stivo182 authored Jan 26, 2025
2 parents 1fc031f + 6d3839a commit 9aee886
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/interface/view/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,21 +162,6 @@
margin: 0;
}

.selectable {
-webkit-touch-callout: all;
/* iOS Safari */
-webkit-user-select: all;
/* Safari */
-khtml-user-select: all;
/* Konqueror HTML */
-moz-user-select: all;
/* Firefox */
-ms-user-select: all;
/* Internet Explorer/Edge */
user-select: all;
/* Chrome and Opera */
}

#warnings,
#errors {
font-size: 1em;
Expand Down Expand Up @@ -526,7 +511,7 @@
<div class="container">
<div>
<div class="outputlabel">Код 1C</div>
<div tabindex="0" id="output" class="output selectable"></div>
<div tabindex="0" id="output" class="output"></div>
<input type="button" id="copy" value="Скопировать" onmouseover="this.classList.add('hoveredbutton')"
onmouseout="this.classList.remove('hoveredbutton')" ontouchstart="this.classList.add('hoveredbutton')"
ontouchend="this.classList.remove('hoveredbutton')">
Expand Down

0 comments on commit 9aee886

Please sign in to comment.