Skip to content

Commit 91e7187

Browse files
authored
Merge branch 'develop' into fix-1356
2 parents de820ba + b480822 commit 91e7187

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

docs/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
#carbonads {
2424
box-shadow: none !important;
25+
width: auto !important;
2526
}
2627
</style>
2728
</head>

index.html

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#carbonads {
2020
box-shadow: none !important;
21+
width: auto !important;
2122
}
2223
</style>
2324
</head>

src/plugins/search/search.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export function init(config, vm) {
203203
let namespaceSuffix = '';
204204

205205
// only in auto mode
206-
if (isAuto && config.pathNamespaces) {
206+
if (paths.length && isAuto && config.pathNamespaces) {
207207
const path = paths[0];
208208

209209
if (Array.isArray(config.pathNamespaces)) {

0 commit comments

Comments
 (0)