test(r3): re-anchor the review's C-key row on the guarded handler
This commit is contained in:
@@ -323,7 +323,7 @@ label = "INV-6 the review has no C key"
|
||||
file = "booth/templates/view.html"
|
||||
test = "tests/test_compare_browser.py::test_the_keys_keep_the_reviews_guards_and_c_toggles_the_view"
|
||||
old = '''
|
||||
else if (e.key === 'c' || e.key === 'C') { e.preventDefault(); window.location.href = COMPARE; }'''
|
||||
else if ((e.key === 'c' || e.key === 'C') && COMPARE) { e.preventDefault(); window.location.href = COMPARE; }'''
|
||||
new = '''
|
||||
'''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user