Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/DerDiemen/eclipsephase in…
Browse files Browse the repository at this point in the history
…to Release_Branch
  • Loading branch information
Artemystra committed Mar 21, 2024
2 parents ee1bfc1 + a2e12b7 commit 2994d20
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions module/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ class EPmenuLayer extends PlaceablesLayer {
.find('.ep-menu.ep-restore-rest')
.click(async event => {
let charList = getActorsWithOwners()
console.log("charList var")
console.log(charList)
console.log("Active Player Characters")
console.log(charList[0])
console.log("Other Player Characters")
console.log(charList[1])

let charSelect = await selectChars(charList)

Expand Down Expand Up @@ -131,7 +125,6 @@ class EPmenuLayer extends PlaceablesLayer {
render: (html) => {
const selectAllCheckbox = html.find('#resetRestSelectAll');
selectAllCheckbox.on('change', (e) => {
console.log("This is e:", e)
checkAllCharacters(html, (! e.target.checked));
});
const charCheckBoxes = getCharacterCheckboxes(html);
Expand Down Expand Up @@ -216,12 +209,8 @@ class EPmenuLayer extends PlaceablesLayer {
* @param activeOnly {boolean}
*/
function checkAllCharacters(html, activeOnly) {
console.log("This is active Only:", activeOnly)
console.log("This is html:", html)
getCharacterCheckboxes(html).each((idx, el) => {
console.log("This is my el Element:", el)
if (! activeOnly /*|| ( !! el.getAttribute('data-owner-id'))*/) {
console.log("Ping! My data-owner-id is:", el.getAttribute('data-owner-id'))
el.checked = true;
} else {
el.checked = false;
Expand Down

0 comments on commit 2994d20

Please sign in to comment.