change ref docs url format from 1_5 to v1.5

This commit is contained in:
Phillip Wittrock
2017-01-13 09:56:34 -08:00
parent f3231a2130
commit 69582c2d8c
3768 changed files with 8 additions and 8 deletions
+21
View File
@@ -0,0 +1,21 @@
$.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);
};