resources/assets/js/pages/page-show.js
// Go to, and highlight if necessary, the specified text.
Go to, and highlight if necessary, the specified text.
Go to and highlight if necessary the specified text .
function goToText(text) {
        var idElem = $('.page-content #' + text).first();
        if (idElem.length !== 0) {
            idElem.smoothScrollTo();
            idElem.css('background-color', 'rgba(244, 249, 54, 0.25)');
        } else {
            $('.page-content').find(':contains("' + text + '")').smoothScrollTo();
        }
    }
function goToText ( text ) { var idElem = $ ( '.page-content #' + text ) . first ( ) ; if ( idElem . length !== 0 ) { idElem . smoothScrollTo ( ) ; idElem . css ( 'background-color' , 'rgba(244, 249, 54, 0.25)' ) ; } else { $ ( '.page-content' ) . find ( ':contains("' + text + '")' ) . smoothScrollTo ( ) ; } }
Go to, and highlight if necessary, the specified text.
Go to and highlight if necessary the specified text .