Skip to content

Commit de51644

Browse files
author
derek riemer
committed
fix position of userinit
1 parent 6df9360 commit de51644

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

AsusRouterA11yFixes.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,6 @@ let observer = new MutationObserver(function (mutations) {
179179
}
180180
});
181181

182-
/** add your specific initialization here, so that if you ever update the framework from new skeleton your inits are not overridden. */
183-
function userInit() { }
184-
185182
function init() {
186183
applyTweaks(document, LOAD_TWEAKS, false);
187184
applyTweaks(document, DYNAMIC_TWEAKS, false);
@@ -263,5 +260,8 @@ const DYNAMIC_TWEAKS = [
263260
},
264261
];
265262

263+
/** add your specific initialization here, so that if you ever update the framework from new skeleton your inits are not overridden. */
264+
function userInit() { }
265+
266266
/*** Lights, camera, action! ***/
267267
init();

framework/axSGreaseSkeleton.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ let observer = new MutationObserver(function (mutations) {
177177
}
178178
});
179179

180-
/** add your specific initialization here, so that if you ever update the framework from new skeleton your inits are not overridden. */
181-
function userInit(){}
182-
183180
function init() {
184181
applyTweaks(document, LOAD_TWEAKS, false);
185182
applyTweaks(document, DYNAMIC_TWEAKS, false);
@@ -205,6 +202,9 @@ const DYNAMIC_TWEAK_ATTRIBS = [];
205202
const DYNAMIC_TWEAKS = [
206203
];
207204

205+
/** add your specific initialization here, so that if you ever update the framework from new skeleton your inits are not overridden. */
206+
function userInit(){}
207+
208208
/*** Lights, camera, action! ***/
209209
init();
210210
userInit();

0 commit comments

Comments
 (0)