Skip to content

[5.8] Fixes Issue #28984, defer in app.js script prevents jquery components from loading.#29001

Merged
taylorotwell merged 1 commit into
laravel:5.8from
mikestratton:5.8
Jun 30, 2019
Merged

[5.8] Fixes Issue #28984, defer in app.js script prevents jquery components from loading.#29001
taylorotwell merged 1 commit into
laravel:5.8from
mikestratton:5.8

Conversation

@mikestratton

Copy link
Copy Markdown
Contributor

Defer in javascript prevents jqueryui components from loading.

Defer in javascript prevents jqueryui components from loading.
@GrahamCampbell GrahamCampbell changed the title Fixes Issue #28984, defer in app.js script prevents jquery components from loading. [5.8] Fixes Issue #28984, defer in app.js script prevents jquery components from loading. Jun 30, 2019
@taylorotwell taylorotwell merged commit 1f3cbcf into laravel:5.8 Jun 30, 2019
@devcircus

Copy link
Copy Markdown
Contributor

So we're now loading javascript in the head without defer? In order to handle the use of jquery-ui? This file is provided to get you started. It's yours to edit as you need it. It should handle the majority use-case and if you have an edge-case, change it. Jquery-ui is an edge case. But 🤷🏻‍♂️

@GrahamCampbell

Copy link
Copy Markdown
Collaborator

Yeh, this is kinda odd. Ping @taylorotwell.

@devcircus

Copy link
Copy Markdown
Contributor

Just move it back to the bottom I guess? Seems strange for it to cause issues with jquery-ui. Haven't used it in years though.

@dongido001

Copy link
Copy Markdown

Ping @taylorotwell cc: #28984

@driesvints

Copy link
Copy Markdown
Member

I've reverted this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants