diff --git a/src/mods/core.js b/src/mods/core.js index 1ad4515..3569d01 100644 --- a/src/mods/core.js +++ b/src/mods/core.js @@ -10,7 +10,7 @@ idrinth.core = { * @returns {Boolean} */ fieldIsSetting: function ( parent, field, allowObjects ) { - return parent && typeof parent === 'object' && field && parent.hasOwnProperty ( field ) && ( typeof parent[field] !== 'object' || allowObjects ) && typeof parent[field] !== 'function'; + return parent && typeof parent === 'object' && field && parent.hasOwnProperty ( field ) && ( parent[field] === null || typeof parent[field] !== 'object' || allowObjects ) && typeof parent[field] !== 'function'; }, ajax: { runHome: function ( url, success, failure, timeout, additionalHeader, isStatic ) { @@ -160,4 +160,4 @@ idrinth.core = { } } } -}; \ No newline at end of file +}; diff --git a/src/root.scss b/src/root.scss index b0aa02c..4321637 100644 --- a/src/root.scss +++ b/src/root.scss @@ -135,6 +135,7 @@ #idrinth-controls { top: 5px; + @include z-offset(5); right: 5px; position: fixed; }