diff --git a/.travis.yml b/.travis.yml index 9d6865a4..5400344f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,23 @@ language: node_js node_js: - "stable" -cache: npm +# cache: npm branches: only: - - master + - master addons: ssh_known_hosts: git.wpengine.com before_script: - - npm ci + - npm install script: - npm run build before_install: - openssl aes-256-cbc -K $encrypted_0c3eeb54f1f2_key -iv $encrypted_0c3eeb54f1f2_iv -in beyond_parallel_rsa.enc -out /tmp/beyond_parallel_rsa -d before_deploy: -- cd $TRAVIS_BUILD_DIR + - cd $TRAVIS_BUILD_DIR deploy: -- provider: script - skip_cleanup: true - script: chmod +x deploy.sh && sh deploy.sh - on: - branch: master \ No newline at end of file + - provider: script + skip_cleanup: true + script: chmod +x deploy.sh && sh deploy.sh + on: + branch: master diff --git a/wp-content/themes/beyond/js/tinymce.js b/wp-content/themes/beyond/js/tinymce.js index e9602be1..d0d906dd 100644 --- a/wp-content/themes/beyond/js/tinymce.js +++ b/wp-content/themes/beyond/js/tinymce.js @@ -265,7 +265,7 @@ .first() .toJSON(); - if (0 > $.trim(json.url.length)) { + if (0 > json.url.length) { return; }