@ -1,20 +1,3 @@
/ * *
* Function removes the spacing between tab navigation and document tool bar
*
* @ param { type } Y
* @ return { undefined }
* /
function adjustPdfannotatorNavbar ( Y ) {
let navbar = document . getElementsByClassName ( 'nav' ) ;
for ( let i = 0 ; i < navbar . length ; i ++ ) {
( function ( innerI ) {
tab = navbar [ innerI ] ;
tab . classList . add ( 'pdfannotatornavbar' ) ;
} ) ( i ) ;
}
}
//The MIT License (MIT)
//
//Copyright (c) 2016 Instructure, Inc. (https://github.com/instructure/pdf-annotate.js/blob/master/docs/index.js, 1.3.2018)
@ -38,6 +21,23 @@ function adjustPdfannotatorNavbar(Y) {
//OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
//SOFTWARE.
//
/ * *
* Function removes the spacing between tab navigation and document tool bar
*
* @ param { type } Y
* @ return { undefined }
* /
function adjustPdfannotatorNavbar ( Y ) {
let navbar = document . getElementsByClassName ( 'nav' ) ;
for ( let i = 0 ; i < navbar . length ; i ++ ) {
( function ( innerI ) {
tab = navbar [ innerI ] ;
tab . classList . add ( 'pdfannotatornavbar' ) ;
} ) ( i ) ;
}
}
//R: The first parameter has to be Y, because it is a default YUI-object, because moodle gives this object first.
function startIndex ( Y , _cm , _documentObject , _userid , _isadmin , _toolbarSettings , _page = 1 , _annoid = null , _commid = null , _capabilities ) { // 3. parameter war mal _fileid