jQuery 3 compatibility. (#153)

jQuery 3 compatibility.

Co-authored-by: Guy Marriott <guy@scopey.co.nz>
This commit is contained in:
Guy Marriott 2019-08-01 14:03:16 +12:00 committed by GitHub
commit fc7c658b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 12 deletions

View File

@ -1,24 +1,26 @@
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
# See https://github.com/silverstripe/silverstripe-travis-support for setup details
sudo: false
dist: trusty
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.1
env:
- DB=MYSQL CORE_RELEASE=3
- DB=MYSQL CORE_RELEASE=3.7
matrix:
include:
- php: '7.1'
env: DB=MYSQL CORE_RELEASE=3.7
- php: '7.2'
env: DB=MYSQL CORE_RELEASE=3.7
- php: '7.3'
env: DB=MYSQL CORE_RELEASE=3.7
before_script:
- composer self-update || true
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
- composer install
script:
- vendor/bin/phpunit docsviewer/tests

View File

@ -55,7 +55,7 @@
}
};
$(window).load(updateTables);
$(window).on('load', updateTables);
$(window).on(
"redraw",function() {
switched = false;