Index: chrome/browser/resources/md_bookmarks/util.js |
diff --git a/chrome/browser/resources/md_bookmarks/util.js b/chrome/browser/resources/md_bookmarks/util.js |
index bf20a151c1246529fcb4ca5c327e84df876066ce..7ea056e794c77107cdb84367418fcd2d3eb61d68 100644 |
--- a/chrome/browser/resources/md_bookmarks/util.js |
+++ b/chrome/browser/resources/md_bookmarks/util.js |
@@ -67,9 +67,14 @@ cr.define('bookmarks.util', function() { |
}; |
} |
+ function isShowingSearch(state) { |
tsergeant
2017/03/20 03:01:50
Annotate this function
calamity
2017/03/22 05:29:52
Done.
|
+ return !state.selectedFolder; |
+ } |
+ |
return { |
createEmptyState: createEmptyState, |
getDisplayedList: getDisplayedList, |
+ isShowingSearch: isShowingSearch, |
normalizeNodes: normalizeNodes, |
}; |
}); |