function darkModeCheck() {
    chrome.storage.local.get(['options'], function (result) {
        if (result.options != undefined) {
           if(result.options.darkMode == 1){
                $('body').addClass('dark')	
           }
        }
    });
    }
/**
    * check if darkMode
    * @function darkModeCheck
    * @memberof popupjs
    */
check if darkMode
@function darkModeCheck
@memberof popupjs
check if darkMode @function darkModeCheck @memberof popupjs
function darkModeCheck() {
    chrome.storage.local.get(['options'], function (result) {
        if (result.options != undefined) {
           if(result.options.darkMode == 1){
                $('body').addClass('dark')	
           }
        }
    });
    }
function darkModeCheck ( ) { chrome . storage . local . get ( [ 'options' ] , function ( result ) { if ( result . options != undefined ) { if ( result . options . darkMode == 1 ) { $ ( 'body' ) . addClass ( 'dark' ) } } } ) ; }
check if darkMode
 @function darkModeCheck
 @memberof popupjs
check if darkMode @function darkModeCheck @memberof popupjs