diff --git a/notebook/static/notebook/js/searchandreplace.js b/notebook/static/notebook/js/searchandreplace.js
index 8af53b2baf..8c7d550160 100644
--- a/notebook/static/notebook/js/searchandreplace.js
+++ b/notebook/static/notebook/js/searchandreplace.js
@@ -69,7 +69,6 @@ define(function(require){
body.append($('
').addClass('bg-warning').text("Warning, too many matches ("+html.length+"+), some changes might not be shown or applied"));
} else {
body.append($('').addClass('bg-info').text(html.length+" match"+(html.length==1?'':'es')));
-
}
for(var rindex=0; rindex')
@@ -135,7 +134,7 @@ define(function(require){
res.push([match.index, match.index+match[0].length]);
escape_hatch++;
if(escape_hatch > 100){
- console.warn("More than 100 matches, aborting");
+ console.warn("More than 100 matches, aborting");
abort = true;
break;
}
@@ -156,7 +155,7 @@ define(function(require){
.attr('id', 'isreg')
.addClass("btn btn-default")
.attr('data-toggle','button')
- .attr('title', 'use regular expression (now you have N+1 problems)')
+ .attr('title', 'Use regex (JavaScript regex syntax)')
.text('.*');
var onlySelectedButton = $('')
@@ -166,14 +165,14 @@ define(function(require){
.addClass("fa fa-check-square-o")
)
.attr('data-toggle','button')
- .attr('title', 'replace only in selected cells');
+ .attr('title', 'Replace only in selected cells');
var isCaseSensitiveButton = $('')
.attr('type', 'button')
.addClass("btn btn-default")
.attr('data-toggle','button')
.attr('tabindex', '0')
- .attr('title', 'is search case sensitive')
+ .attr('title', 'Case sensitive')
.text('a≠A');
var repl = $("")
@@ -188,21 +187,15 @@ define(function(require){
$('').addClass('input-group')
.append(
$('').addClass('input-group-btn')
- .append(isCaseSensitiveButton)
- .append(isRegExpButton)
+ .append(isCaseSensitiveButton)
+ .append(isRegExpButton)
+ .append(onlySelectedButton)
)
.append(search)
)
)
.append($('').addClass('form-group')
- .append(
- $('').addClass('input-group')
- .append(repl)
- .append(
- $('').addClass('input-group-btn')
- .append(onlySelectedButton)
- )
- )
+ .append(repl)
)
.append(body);
diff --git a/notebook/static/notebook/less/searchandreplace.less b/notebook/static/notebook/less/searchandreplace.less
index cccf08e920..9b99b11026 100644
--- a/notebook/static/notebook/less/searchandreplace.less
+++ b/notebook/static/notebook/less/searchandreplace.less
@@ -28,9 +28,4 @@
max-height: 60vh;
overflow: auto;
}
-
- & input:last-child {
- border-left:none;
- }
-
}