diff options
Diffstat (limited to 'src/modules/optional/arrange.js')
-rw-r--r-- | src/modules/optional/arrange.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/optional/arrange.js b/src/modules/optional/arrange.js index f06509a..7c9d994 100644 --- a/src/modules/optional/arrange.js +++ b/src/modules/optional/arrange.js @@ -99,11 +99,13 @@ export function after (element) { export function insertBefore (element) { element = makeInstance(element) element.before(this) + return this } export function insertAfter (element) { element = makeInstance(element) element.after(this) + return this } registerMethods('Dom', { |