Added Refine.showLeftPanel() (#3716)

Added the Refine.showLeftPanel() function.
This commit is contained in:
Antoine Beaubien 2021-03-13 05:01:20 -05:00 committed by GitHub
parent 50a905e9da
commit 00b108865f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,8 @@ class Facet {
this._config = config;
this._options = options || {};
this._minimizeState = false;
Refine.showLeftPanel();
};
_minimize() {

View File

@ -182,6 +182,11 @@ Refine._showHideLeftPanel = function() {
resizeAll();
};
Refine.showLeftPanel = function() {
$('div#body').removeClass("hide-left-panel");
resizeAll();
};
Refine.setTitle = function(status) {
var title = theProject.metadata.name + " - OpenRefine";
if (status) {