mirror of
https://github.com/zyllian/zyllian.github.io.git
synced 2025-01-18 03:32:30 -08:00
fix debug class being added to body in release mode
This commit is contained in:
parent
f55b8a8126
commit
126b38db7e
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ impl<'a> SiteBuilder<'a> {
|
|||
Settings {
|
||||
element_content_handlers: vec![
|
||||
element!("body", |el| {
|
||||
#[cfg(debug_assertions)]
|
||||
el.set_attribute("class", "debug")?;
|
||||
Ok(())
|
||||
}),
|
||||
|
|
Loading…
Add table
Reference in a new issue