-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Deleting obsolete template.min.js #23739
Conversation
You're breaking B/C here. In order to remove this part you need first this: #20549 |
Seams that got fixed in 6a3edd0 ? because in this commit the original template.js as been deleted. |
@HLeithner No, that PR assumes that bootstrap.js is always loaded by the template. This won't be the case for Atum... |
@dgrammatiko why is there only a minified file committed then? There is no way of trying to get the original back out from this i guess |
There is no original source of that JS file anymore and the code has not been included in the template for pretty exactly a year now: #19326 |
@wilsonge we can of course restore the old file from a year ago, but considering that it has not been included for a year and nobody really noticed it, I would claim that it is not needed. |
You reopend #20549 do you try to fix the Situation suiteable for screenreaders? |
@Hackwar @wilsonge go ahead and remove it. I already reopened #20549 and will patch the a11y concerns there. FWIW my point was that @Bakual 's PR removing the js file was based on the assumption that Bootstrap.js will always be loaded, which of course is wrong as both Atum and Cassiopeia will be free from jQuery.js and Bootstrap.js |
This PR indeed is fine since my PR back then removed all reference to load that file. I don't know why I missed the minified one. The code in that file was broken anyway.
That's true, and explicitely mentioned in my PR back then:
So yes, it's one roadblock to get Bootstrap removed from the template. |
Thanks! |
This directory was removed in #23739
Seems like this file is a leftover of earlier cleanup.