MCPcopy Create free account
hub / github.com/Milkyroad/SCiPNET / scroll

Function scroll

public/src/js/utils.js:23–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23function scroll() {
24 var $contents = $('#cmdIframe').contents();
25 $contents.scrollTop($contents.height());
26 if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) == false) {
27 document.getElementById("input").focus();
28 }
29}
30
31function cmdHide() {
32 $("#input").css("opacity", "0.5")

Callers 8

script.jsFile · 0.90
displayLineFunction · 0.90
AccessLinkFunction · 0.90
AccessLinkFunction · 0.90
appendErrorFunction · 0.85
appendWarnFunction · 0.85
appendNormalFunction · 0.85
loadFileFunction · 0.85

Calls 1

$Function · 0.50

Tested by

no test coverage detected