Skip to content

Commit 15ed419

Browse files
authored
Update "Whoops" exception message to allow selecting a subset of text
Previously if you clicked on the exception message, it would automatically highlight all of the text which makes it difficult to select just a subset. For example, if you just needed to copy a variable name which caused the exception and not the whole message. This change does not break the "copy to clipboard" button which will still enable users to do so if they need the entire message on their clipboard. This change gives the feature a little more flexibility with that box.
1 parent 40f8346 commit 15ed419

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

system/exceptions/Whoops.cfm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@
176176
class="exception__message"
177177
title="Exception Message - Click to copy"
178178
id="exceptionMessage"
179-
onclick="copyToClipboard( 'exceptionMessage' )"
180179
>
181180
<i
182181
onclick="copyToClipboard( 'exceptionMessage' )"
@@ -411,4 +410,4 @@
411410
</script>
412411
</body>
413412
</html>
414-
</cfoutput>
413+
</cfoutput>

0 commit comments

Comments
 (0)