Commit d7848c11 authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #25147 -- Fixed debug view copy-paste/interactive toggle.

The whitespace added in 1101467c
broke the initial comparison.
parent baa732ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }