MCPcopy Create free account
hub / github.com/breck7/scroll / rm

Function rm

external/.scrollLibs.js:6047–6056  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

6045 cur = container.firstChild
6046
6047 function rm(node) {
6048 var next = node.nextSibling
6049 // Works around a throw-scroll bug in OS X Webkit
6050 if (webkit && mac && cm.display.currentWheelTarget == node) {
6051 node.style.display = "none"
6052 } else {
6053 node.parentNode.removeChild(node)
6054 }
6055 return next
6056 }
6057
6058 var view = display.view,
6059 lineN = display.viewFrom

Callers 1

patchDisplayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected