Fixed #25147 -- Fixed debug view copy-paste/interactive toggle.
The whitespace added in 1101467ce0
broke the initial comparison.
This commit is contained in:
parent
baa732ac9f
commit
d7848c11e0
|
@ -646,7 +646,7 @@ TECHNICAL_500_TEMPLATE = ("""
|
|||
function switchPastebinFriendly(link) {
|
||||
s1 = "Switch to copy-and-paste view";
|
||||
s2 = "Switch back to interactive view";
|
||||
link.innerHTML = link.innerHTML == s1 ? s2: s1;
|
||||
link.innerHTML = link.innerHTML.trim() == s1 ? s2: s1;
|
||||
toggle('browserTraceback', 'pastebinTraceback');
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue