🏷️ Introduce Weight type for element weights

This commit is contained in:
Manuel Cillero 2023-07-16 07:45:09 +02:00
parent 6df57a0c12
commit 941b7ae57b
28 changed files with 118 additions and 110 deletions

View file

@ -49,7 +49,7 @@ fn after_prepare_body(page: &mut Page) {
page.context().alter(ContextOp::AddJavaScript(
JavaScript::at("/jquery/jquery.min.js")
.with_version("3.6.0")
.with_weight(isize::MIN)
.with_weight(-99)
.with_mode(ModeJS::Normal),
));
}