MCPcopy Index your code
hub / github.com/hoothin/UserScripts / moveDown

Method moveDown

Pagetual/pagetual.user.js:9935–9941  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9933 }
9934 }
9935 moveDown() {
9936 let nextE = this.item.nextElementSibling;
9937 if (compareNodeName(nextE, ["p"]) && nextE.children.length > 1) {
9938 this.item.parentNode.insertBefore(nextE, this.item);
9939 this.saveSort();
9940 }
9941 }
9942 del() {
9943 if (this.ruleUrl.id < 2) {
9944 showTips(i18n("cantDel"));

Callers 1

initMethod · 0.95

Calls 2

saveSortMethod · 0.95
compareNodeNameFunction · 0.85

Tested by

no test coverage detected