mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed search plugin crashing when enabling theme while serving
This commit is contained in:
parent
258e1dfcd3
commit
ad83798bef
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user