File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/Symfony/Component/VarDumper/Dumper Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -190,6 +190,8 @@ function a(e, f) {
190
190
f(e.target, e);
191
191
} else if ('A' == e.target.parentNode.tagName) {
192
192
f(e.target.parentNode, e);
193
+ } else if (e.target.nextElementSibling && 'A' == e.target.nextElementSibling.tagName) {
194
+ f(e.target.nextElementSibling, e, true);
193
195
}
194
196
});
195
197
};
@@ -209,7 +211,7 @@ function isCtrlKey(e) {
209
211
}
210
212
}
211
213
});
212
- a('click', function (a, e) {
214
+ a('click', function (a, e, c ) {
213
215
if (/\bsf-dump-toggle\b/.test(a.className)) {
214
216
e.preventDefault();
215
217
if (!toggle(a, isCtrlKey(e))) {
@@ -230,7 +232,8 @@ function isCtrlKey(e) {
230
232
}
231
233
}
232
234
233
- if (doc.getSelection) {
235
+ if (c) {
236
+ } else if (doc.getSelection) {
234
237
try {
235
238
doc.getSelection().removeAllRanges();
236
239
} catch (e) {
You can’t perform that action at this time.
0 commit comments