diff --git a/public/css/fixes.css b/public/css/fixes.css
index 2c3fae7e..b75a0b83 100644
--- a/public/css/fixes.css
+++ b/public/css/fixes.css
@@ -252,4 +252,9 @@ select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__
/* Stop showing a border on our user's drop down menu when open */
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
border-color: var(--bs-btn-bg);
+}
+
+/* limit selection to inside the modal */
+body.modal-open {
+ user-select: none;
}
\ No newline at end of file
diff --git a/resources/views/fragment/dn/header.blade.php b/resources/views/fragment/dn/header.blade.php
index 0160c9f3..571c427f 100644
--- a/resources/views/fragment/dn/header.blade.php
+++ b/resources/views/fragment/dn/header.blade.php
@@ -3,7 +3,7 @@
{!! ($x=$o->getObject('jpegphoto')) ? $x->render(FALSE,TRUE) : sprintf(' ',$o->icon() ?? "fas fa-info") !!}
|
- {{ $o->getDn() }} |
+ {{ $o->getDn() }} |
diff --git a/resources/views/frames/dn.blade.php b/resources/views/frames/dn.blade.php
index 260a64bf..21821874 100644
--- a/resources/views/frames/dn.blade.php
+++ b/resources/views/frames/dn.blade.php
@@ -336,6 +336,11 @@
}
});
+ $('#page-modal').on('hide.bs.modal',function() {
+ // Clear any select ranges that occurred while the modal was open
+ document.getSelection().removeAllRanges();
+ });
+
@if(old())
editmode();
@endif
diff --git a/resources/views/modals/entry-export.blade.php b/resources/views/modals/entry-export.blade.php
index 5c0eab5b..7cae4ba5 100644
--- a/resources/views/modals/entry-export.blade.php
+++ b/resources/views/modals/entry-export.blade.php
@@ -5,7 +5,7 @@
|