File: jquery3.patch

package info (click to toggle)
php-apigen-theme-default 1.0.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 308 kB
  • ctags: 80
  • sloc: makefile: 8
file content (13 lines) | stat: -rw-r--r-- 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Update main.js to work with jquery 3
 This is necessary since we're not using the bundled jquery
Author: Florian Schlichting <fsfs@debian.org>
Forwarded: https://github.com/ApiGen/ThemeDefault/pull/16

--- a/src/js/main.js
+++ b/src/js/main.js
@@ -1,4 +1,4 @@
-$(window).load(function() {
+$(window).on('load', function() {
 	var $document = $(document);
 	var $left = $('#left');
 	var $right = $('#right');