CoreFiles by mySites.guru
scrollpastend.min.js1 lines, 812 bytes, from Joomla_4.4.13-Stable-Full_Package.zip
Raw History Compare with 4.4.12
md5
707a94d24fc239711357f0d888efdbb8
sha1
ad7f7550dc18cfd00878ceff639d646514816a00
sha256
8a4033d550ed67131b5dce59595a514848fa72cf67bfa97fa2d15c939d6e1994
(function(i){typeof exports=="object"&&typeof module=="object"?i(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],i):i(CodeMirror)})(function(i){"use strict";i.defineOption("scrollPastEnd",!1,function(e,n,o){o&&o!=i.Init&&(e.off("change",a),e.off("refresh",t),e.display.lineSpace.parentNode.style.paddingBottom="",e.state.scrollPastEndPadding=null),n&&(e.on("change",a),e.on("refresh",t),t(e))});function a(e,n){i.changeEnd(n).line==e.lastLine()&&t(e)}function t(e){var n="";if(e.lineCount()>1){var o=e.display.scroller.clientHeight-30,f=e.getLineHandle(e.lastLine()).height;n=o-f+"px"}e.state.scrollPastEndPadding!=n&&(e.state.scrollPastEndPadding=n,e.display.lineSpace.parentNode.style.paddingBottom=n,e.off("refresh",t),e.setSize(),e.on("refresh",t))}});

The same content is in 28 releases, Joomla 4.4.1-rc1 to 4.4.14. See them all, or every version of this file.