Fix not working 'Hide Whitespace changes' toggle

Review Request #3832 — Created Feb. 2, 2013 and submitted

Information

Review Board

Reviewers

The 'Hide Whitespace changes' toggle does not work on multiple browsers: Chrome/Firefox/Opera.

Clicking the toggle for a diff with whitespace changes should dim references to the whitespace changes and stop highlighting the changes. Instead the button does nothing and a javascript error is thrown: Uncaught Error: Syntax error, unrecognized expression: ol.index a[href=#5.2]
Uploaded a diff with whitespace changes and modified the jquery selector for the changes references inside Chrome's developer tool.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
      Ignored Files:
        reviewboard/static/rb/js/diffviewer.js
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
BT
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.7.x (85ac059). Thanks!
Loading...