1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 15:07:44 +00:00
Files
diosmosis b12946909f run npm update and include node_modules (#16079)
* update npm packages to latest

* fix javascript path location

* update screenshots

* Add node_modules for users that do not have npm insalled but use git to deploy.

* fix release checklist test

* Add old chroma-js + some files missing from node_module.

* remove npm install

* fix .travis.yml

* update expected screenshots

* update submodule

Co-authored-by: sgiehl <stefan@matomo.org>
2020-06-26 02:33:41 -07:00

22 خطوط
441 B
JavaScript
Vendored

$.fn.test = function(){
// Hide title on iframes
if (window.self !== window.top) {
$('h1').hide();
}
if (location.search === '?notest') {
return this;
}
$.scrollTo.defaults.axis = 'xy';
var root = this.is('iframe') ? this.contents() : $('body');
root.find('#ua').html(
navigator.userAgent +
'<br />' +
'document.compatMode is "' + document.compatMode + '"'
);
return this.scrollTo('max', 1000).scrollTo(0, 1000);
};