Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.1 KB

CHANGES.md

File metadata and controls

24 lines (16 loc) · 1.1 KB

Change Log 1.0

  1. Refactored Button Creation:

    • Changed button creation from var btn_add = document.createElement("BUTTON"); to const btnAdd = createButton('ASCM_addall', 'Add All', '120px');.
  2. Button Placement:

    • Adjusted button placement to be directly under the ".collectionAddItemsSection" div.
  3. Button Styling:

    • Removed inline styling for buttons and applied styles within the createButton function.
  4. Button Event Listeners:

    • Changed event listeners from jQuery syntax (jQuery('button#ASCM_addall').click(...)) to vanilla JavaScript (btnAdd.addEventListener('click', ...)).
  5. Button Styling (Background Color and Border):

    • Updated button background color and removed borders for a cleaner appearance.
  6. Button Container Styling:

    • Adjusted styling of the container div for the buttons.
  7. Positioning of Buttons:

    • Moved the positioning of the buttons into the createButton function.

These changes aim to enhance code structure, readability, and maintainability. If you have any specific questions about the modifications, feel free to ask!