From 6c59533acc472e4940df86c3119f97945cdfd4d0 Mon Sep 17 00:00:00 2001 From: Jessime Date: Fri, 3 Feb 2017 15:34:15 -0500 Subject: [PATCH] Apply find-and-replace to selected cells only by default. The original setting was to apply the find-and-replace to all cells by default. This can lead to accidental replacement that's difficult to undo. --- .../static/notebook/js/searchandreplace.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/notebook/static/notebook/js/searchandreplace.js b/notebook/static/notebook/js/searchandreplace.js index 23269b30e..02c36e5a4 100644 --- a/notebook/static/notebook/js/searchandreplace.js +++ b/notebook/static/notebook/js/searchandreplace.js @@ -158,12 +158,12 @@ define(function(require){ .attr('title', 'Use regex (JavaScript regex syntax)') .text('.*'); - var onlySelectedButton = $('