File tree 4 files changed +10
-2
lines changed
<
8000
svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-open-fill" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom">
TwigBundle/Resources/views
WebProfilerBundle/Resources/views/Profiler 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 478
478
addEventListener (toggles[i], ' click' , function (e ) {
479
479
e .preventDefault ();
480
480
481
+ if (' ' !== window .getSelection ().toString ()) {
482
+ /* Don't do anything on text selection */
483
+ return ;
484
+ }
485
+
481
486
var toggle = e .target || e .srcElement ;
482
487
483
488
/* needed because when the toggle contains HTML contents, user can click */
Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ header .container { display: flex; justify-content: space-between; }
89
89
.exception-illustration { flex-basis: 111px; flex-shrink: 0; height: 66px; margin-left: 15px; opacity: .7; }
90
90
91
91
.trace + .trace { margin-top: 30px; }
92
- .trace-head { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
93
92
.trace-head .trace-class { color: #222; font-size: 18px; font-weight: bold; line-height: 1.3; margin: 0; position: relative; }
94
93
.trace-head .trace-namespace { color: #999; display: block; font-size: 13px; }
95
94
.trace-head .icon { position: absolute; right: 0; top: 0; }
Original file line number Diff line number Diff line change 478
478
addEventListener (toggles[i], ' click' , function (e ) {
479
479
e .preventDefault ();
480
480
481
+ if (' ' !== window .getSelection ().toString ()) {
482
+ /* Don't do anything on text selection */
483
+ return ;
484
+ }
485
+
481
486
var toggle = e .target || e .srcElement ;
482
487
483
488
/* needed because when the toggle contains HTML contents, user can click */
Original file line number Diff line number Diff line change @@ -316,7 +316,6 @@ public function getStylesheet(FlattenException $exception)
316
316
.exception-illustration { flex-basis: 111px; flex-shrink: 0; height: 66px; margin-left: 15px
585E
; opacity: .7; }
317
317
318
318
.trace + .trace { margin-top: 30px; }
319
- .trace-head { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
320
319
.trace-head .trace-class { color: #222; font-size: 18px; font-weight: bold; line-height: 1.3; margin: 0; position: relative; }
321
320
322
321
.trace-message { font-size: 14px; font-weight: normal; margin: .5em 0 0; }
You can’t perform that action at this time.
0 commit comments