function restore_options() {
    var customAttributes = localStorage["CUSTOM_ATTRIBUTES"];
    if (customAttributes) {
        var inputCustomAttributes = document.getElementById("inputCustomAttributes");
        inputCustomAttributes.value = customAttributes;
    }
    var theme = localStorage["THEME"];
    if (theme) {
        var selectTheme = document.getElementById("selectTheme");
        selectTheme.value = theme;
    }
}
// Restores options to saved value from localStorage.
Restores options to saved value from localStorage.
Restores options to saved value from localStorage .
function restore_options() {
    var customAttributes = localStorage["CUSTOM_ATTRIBUTES"];
    if (customAttributes) {
        var inputCustomAttributes = document.getElementById("inputCustomAttributes");
        inputCustomAttributes.value = customAttributes;
    }
    var theme = localStorage["THEME"];
    if (theme) {
        var selectTheme = document.getElementById("selectTheme");
        selectTheme.value = theme;
    }
}
function restore_options ( ) { var customAttributes = localStorage [ "CUSTOM_ATTRIBUTES" ] ; if ( customAttributes ) { var inputCustomAttributes = document . getElementById ( "inputCustomAttributes" ) ; inputCustomAttributes . value = customAttributes ; } var theme = localStorage [ "THEME" ] ; if ( theme ) { var selectTheme = document . getElementById ( "selectTheme" ) ; selectTheme . value = theme ; } }
Restores options to saved value from localStorage.
Restores options to saved value from localStorage .