From 39735c6364ee6c190cd072147117078e47d2afb3 Mon Sep 17 00:00:00 2001 From: Gaus Surahman <gausarts@gmail.com> Date: Wed, 20 Sep 2023 07:47:02 +0700 Subject: [PATCH] Minor fixes. --- CHANGELOG.txt | 4 ++-- docs/README.md | 2 +- gridstack.install | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 45e8221..52afbfb 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,4 +1,4 @@ -GridStack 3.0.x-dev, 2023-09-18 -------------------------------- +GridStack 3.x-dev, 2023-09-18 +----------------------------- - Initial 3.x. diff --git a/docs/README.md b/docs/README.md index e3dce5f..2f8f417 100644 --- a/docs/README.md +++ b/docs/README.md @@ -26,7 +26,7 @@ plugin. *** ## <a name="first"> </a>FIRST THINGS FIRST! Read more at: -* [Github](https://git.drupalcode.org/project/blazy/-/blob/8.x-2.x/docs/README.md#first-things-first) +* [Github](https://git.drupalcode.org/project/blazy/-/blob/3.0.x/docs/README.md#first-things-first) * [Blazy UI](/admin/help/blazy_ui#first) *** diff --git a/gridstack.install b/gridstack.install index 2bad0c6..831661f 100644 --- a/gridstack.install +++ b/gridstack.install @@ -19,7 +19,7 @@ function gridstack_requirements($phase) { $path = gridstack()->getLibrariesPath('gridstack') ?: \Drupal::root() . '/libraries/gridstack'; - if (is_dir($path)) { + if ($path && is_dir($path)) { $exists = is_file($path . '/dist/gridstack-static.js') && is_file($path . '/dist/gridstack-h5.js'); } -- GitLab