mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 19:18:22 +01:00
29 lines
575 B
JavaScript
29 lines
575 B
JavaScript
var iWebkit;
|
|
|
|
if (!iWebkit) {
|
|
|
|
iWebkit = window.onload = function () {
|
|
function fullscreen() {
|
|
var a = document.getElementsByTagName("a");
|
|
for (var i = 0; i < a.length;i++) {
|
|
if (a[i].className.match("noeffect")) {
|
|
}
|
|
else {
|
|
a[i].onclick = function () {
|
|
window.location = this.getAttribute("href");
|
|
return false;
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
function hideURLbar() {
|
|
window.scrollTo(0, 0.9);
|
|
}
|
|
iWebkit.init = function () {
|
|
fullscreen();
|
|
hideURLbar();
|
|
};
|
|
iWebkit.init();
|
|
};
|
|
} |