srowen commented on a change in pull request #24843: [SPARK-28004][UI] Update
jquery to 3.4.1
URL: https://github.com/apache/spark/pull/24843#discussion_r292663649
##########
File path: docs/js/main.js
##########
@@ -93,5 +93,5 @@ $(function() {
// Scroll now too in case we had opened the page on a hash, but wait a bit
because some browsers
// will try to do *their* initial scroll after running the onReady handler.
- $(window).load(function() { setTimeout(function() { maybeScrollToHash(); },
25); });
+ $(window).on('load', function() { setTimeout(function() {
maybeScrollToHash(); }, 25); });
Review comment:
This is actually the only change I seemed to need to make to the Spark
javascript.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]