1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-30 18:24:35 +01:00

Fixed search plugin crashing when enabling theme while serving

This commit is contained in:
squidfunk 2023-11-19 18:35:58 +01:00
parent 258e1dfcd3
commit ad83798bef
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class SearchPlugin(BasePlugin[SearchConfig]):
super().__init__(*args, **kwargs)
# Initialize incremental builds
self.is_dirty = False
self.is_dirtyreload = False
# Initialize search index cache

View File

@ -47,6 +47,7 @@ class SearchPlugin(BasePlugin[SearchConfig]):
super().__init__(*args, **kwargs)
# Initialize incremental builds
self.is_dirty = False
self.is_dirtyreload = False
# Initialize search index cache