💥 Función located() pasa a at() en activos
This commit is contained in:
parent
a9a70fca46
commit
44550edafa
10 changed files with 13 additions and 13 deletions
|
|
@ -47,7 +47,7 @@ impl JQuery {
|
|||
fn before_render_page(page: &mut Page) {
|
||||
if let Some(true) = page.context().get_param::<bool>(PARAM_JQUERY) {
|
||||
page.context().alter(ContextOp::AddJavaScript(
|
||||
JavaScript::located("/jquery/jquery.min.js")
|
||||
JavaScript::at("/jquery/jquery.min.js")
|
||||
.with_version("3.6.0")
|
||||
.with_weight(isize::MIN)
|
||||
.with_mode(ModeJS::Normal),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue