8aa2b8dd3c
Rewrite photo_clipboard actions to take ids instead of cards.
...
Following the previous commit about the checkbox on the /photo page,
this fixes all of the code assuming that we're dealing with photo_card
divs, the majority of which was doing nothing but accessing the id.
2020-09-10 08:20:55 -07:00
4569e7848c
Let apply_check_all search for the checkboxes, not the photo cards.
2020-09-09 20:09:41 -07:00
05b39c21fd
Replace loop uses of var with let/const.
2020-09-03 15:33:37 -07:00
8af340e442
Replace non-global uses of var with let.
2020-09-03 15:31:47 -07:00
a15f14ad06
Simplify parameter format for hotkeys.register_hotkey.
2020-09-03 11:47:40 -07:00
bff4a12fcb
Add various comments, docstrings, and console.log.
2020-09-03 11:46:26 -07:00
c8ab3c22c9
Remove redundant call to removeChild.
...
appendChild already takes elements out of the old parent.
2020-08-30 17:53:46 -07:00
eeceb7a9eb
Don't set windowName for the full clipboard page.
...
This was less helpful than expected, because if you take that
tab and navigate somewhere else, then trying to open the clipboard
would replace the current tab instead of opening a new one.
2019-08-25 17:17:40 -07:00
b6890bfd2c
Combine logic for forward and backward shift-selects.
2018-10-20 16:18:02 -07:00
70d0e64309
Add a CSS class to photo cards for selection state.
...
Planning on adding some rules to make selected cards
stand out in some way, or at least have that possibility.
2018-10-20 02:32:33 -07:00
9964cf987b
Remove unused functions select/unselect_photo.
2018-10-20 02:29:46 -07:00
3a9ab2b099
Rename photoclipboard.js -> photo_clipboard.js.
...
To match the namespace photo_clipboard.
2018-09-23 15:17:31 -07:00