Michael Lösler
d17f2542b9
Update main.min.js
...
This is just a new compressed version of the main.js (using https://www.toptal.com/developers/javascript-minifier ).
2025-02-17 20:31:35 +01:00
Heiko August
1b6f4f7892
Change: remove the function setFocusToContentForm and its call in main.min.js
2025-02-17 20:31:35 +01:00
Heiko August
56a1be1287
Change: remove the JS-function setFocusToContentForm
...
There is the HTML-attribute autofocus nowadays.
2025-02-17 20:31:35 +01:00
Michael Lösler
00a2a07198
Remove function setDefaultInputValue ( #792 )
...
- function `setDefaultInputValue` removed as proposed in #791
2025-02-15 14:56:38 +01:00
Michael Lösler
4c9cd99a95
JavaScript-Minification
...
- minificated/compressed version added (https://www.toptal.com/developers/javascript-minifier )
2024-12-28 13:33:55 +01:00
Heiko August
77927ea6e9
Change: replace the loop over the link collection with code for the one specific link
2024-12-28 13:33:55 +01:00
Heiko August
a2ce83f8f4
Change: remove variable icon for the removed toggle icon
2024-12-28 13:33:55 +01:00
Heiko August
f29d015dd1
Change: replace keyword var with const
2024-12-28 13:33:55 +01:00
Michael Lösler
d075a0a518
el.getAttribute("id") vs. el.id ( #748 )
...
If an element `el` does not have an `id`, `el.id` returns an (empty) string but `el.getAttribute("id")` returns `null` (at least in Opera), cf. #741
A condition has been added to catch errors (when using image or code without any attribute).
2024-10-07 21:23:26 +02:00
Michael Lösler
5cf8e52fa3
JavaScript-Minifikation
...
- compressed version of the main javascript
2024-09-29 13:02:35 +00:00
Heiko August
1f7ef6353d
Revert "Change: adapt the changes in main.js to main.min.js"
...
This reverts commit 02a6a5c6be
.
2024-09-29 13:02:35 +00:00
Heiko August
ea1542dc6f
Change: adapt the changes in main.js to main.min.js
2024-09-29 13:02:35 +00:00
Heiko August
f093edcdb2
Cleanup: correct a few formatting issues (trailing tabs)
2024-09-29 13:02:35 +00:00
Heiko August
f5b42822fa
Change: access no-text-icon with querySelector
2024-09-29 13:02:35 +00:00
Heiko August
3069b8baeb
Change: add class .subject to subject links in thread trees, adapt access in JS
2024-09-29 13:02:35 +00:00
Michael Lösler
4fd0696bb6
JS Compression ( #743 )
...
c- mpressed main.js using https://www.toptal.com/developers/javascript-minifier
2024-09-15 12:12:48 +02:00
Heiko August
2305068128
Cleanup: remove trailing spaces/tabs (again)
2024-09-15 11:54:53 +02:00
Heiko August
5e763375c2
Change: remove the class .more-smilies from the button definition
...
The class is not needed anymore. It was used to format the button twice the width than the smiley buttons of class .default.
2024-09-15 11:54:53 +02:00
Heiko August
73f4f53996
Change: a bit of reformatting and correctiion of a phrasing error
2024-09-15 11:54:53 +02:00
Heiko August
fd0328a92f
Change: create the bb-code-buttons with the new HTML-structure of the instructions
...
The instruction items are now capsuled in an additional div. The JS-code has to respect this change.
2024-09-15 11:54:53 +02:00
Heiko August
049c131264
Change: create the buttons of smilies with the new HTML-structure of the instructions
...
The instruction items are now capsuled in an additional div. The JS-code has to respect this change.
2024-09-15 11:54:53 +02:00
Heiko August
a1af9b5215
Change: read the value for insertion of an additional smiley from the button value
2024-09-15 11:54:53 +02:00
Heiko August
da6be2bb72
Change: replace links with a list with buttons in the list of additional smilies
2024-09-15 11:54:53 +02:00
Heiko August
704b2f3937
Cleanup: remove trailing spaces/tabs, add spaces for better readability
2024-09-15 11:54:53 +02:00
Heiko August
33408247f2
Change: hide the complete div#formatting-help instead the both instruction blocks
2024-09-15 11:54:53 +02:00
Heiko August
696de3ed9d
Change: determine the length once instead of with each loop pass
2024-09-15 11:54:53 +02:00
Heiko August
93edd1d979
Change: replace search for label in tag collection with a query selector
2024-09-15 11:54:53 +02:00
Heiko August
47f74927f4
Change: move the remaining function call for DragAndDropTable from admin.js to main.js (and .min) and delete admin(.min).js
2022-04-27 12:09:34 +02:00
Michael Lösler
38fc8f5a79
Type Error ( #580 )
...
- Uncaught TypeError: Cannot read properties of undefined (reading 'push') was thrown, if compressed version was loaded
- posting.js is compressed (without changes) using https://refresh-sf.com/
2022-04-21 16:47:38 +02:00
Michael Lösler
b8daf951c0
Type Error ( #579 )
...
- Uncaught TypeError: Cannot read properties of undefined (reading 'push') was thrown, if compressed version was loaded
- admin.js is compressed (without changes) using https://refresh-sf.com/
2022-04-21 15:55:28 +02:00
Michael Lösler
563eb22ef3
Default target ( #578 )
...
- The default target (specified in forum settings by the admin) is used to open links in a dedicated frame
2022-04-21 15:48:28 +02:00
Michael Lösler
6cac6fd6c2
Compression ( #574 )
...
- compressed main.js using https://refresh-sf.com/
2021-09-21 22:46:03 +02:00
Michael Lösler
17c7ec58bb
Array name ( #573 )
...
- changed array name back to avoid confusion
2021-09-21 21:50:32 +02:00
Michael Lösler
880e69f752
Link target ( #546 )
...
* Link target
- add or remove link target depending on user preferences given by `user_settings["open_links_in_new_window"]`, cf. https://mylittleforum.net/forum/index.php?id=12381
* IE support
- add includes prototype to support IE
* Typo
- corrected case name, NON --> NONE
* Rename array
- rename array user_settings to settings
- added target argument in function setLinkTarget, cf. https://mylittleforum.net/forum/index.php?id=12611
2021-09-21 21:46:54 +02:00
Michael Loesler
cba8e70485
DOMContentLoaded ( #545 )
...
- use DOMContentLoaded to init scrips on (DOM) load
2020-10-26 21:46:17 +01:00
Michael Loesler
095a098182
main.js ( #544 )
...
- clean main.js
2020-10-26 21:33:30 +01:00
Michael Loesler
39753c8604
Clean script files ( #543 )
...
- remove out-dated sources
- translate comments of functions
- https://mylittleforum.net/forum/index.php?id=12389
2020-10-26 18:06:14 +01:00
Michael Loesler
9f0b88403a
Remove blank
...
- remove blank (style should defined in css)
2019-05-23 22:14:32 +02:00
Michael Loesler
be0f30bd8a
button element
...
replaced input by button element
2019-05-23 19:40:06 +02:00
Michael Loesler
7329edac0a
Quote-Button
...
- removed quote link
- added new quote button
- see https://github.com/ilosuna/mylittleforum/issues/474
2019-05-22 22:14:19 +02:00
Michael Loesler
a0d9601e75
missing function ( #466 )
...
- remove missing function call, see https://mylittleforum.net/forum/index.php?id=11612 and https://github.com/ilosuna/mylittleforum/pull/437
2019-02-22 17:51:04 +01:00
Michael Loesler
912b4b77f0
introduction elements ( #450 )
...
- removed introduction elements for BB code button, see https://mylittleforum.net/forum/index.php?id=11318
2019-01-28 23:21:09 +01:00
Heiko August
e404c135e5
Change: remove function to gray out unselected radio buttons and checkboxes via CSS-classes
2018-12-30 00:18:05 +01:00
Michael Loesler
d200ac07eb
remove msg ( #432 )
...
- removed msg-tag
- extended protocol list for exclusion
2018-12-21 17:17:38 +01:00
Michael Loesler
84ad656a12
msg-tag ( #431 )
...
- Extend exclude list for msg-tag
- https://mylittleforum.net/forum/index.php?id=11166
2018-12-20 20:12:36 +01:00
Michael Loesler
ebbe657917
Default prompt ( #411 )
...
- Replace "http://" by "https://" in default prompt
- see https://mylittleforum.net/forum/index.php?id=11143
2018-12-01 13:11:17 +01:00
Michael Loesler
b053582193
Typo ( #404 )
...
- replaced hidde by hide
2018-10-24 21:08:23 +02:00
Michael Loesler
f17271221b
Password visibility ( #403 )
...
- add a check box behind the passwords field
- add two lang. phrases to display a helpful tooltip
- if the check box is checked, the password is shown in plain text otherwise the text field function for passwords is used (e.g. showing *****)
- see https://github.com/ilosuna/mylittleforum/pull/402
- remove uri to YUI compressor
- password confirmation field removed
- `error_pw_conf_wrong` key removed
2018-10-24 16:20:51 +02:00
Heiko August
94ac9bc5bd
Fix: add the code for opening the data privacy statement in a popup to the minimised JS-file
2018-08-05 19:51:15 +02:00
Heiko August
61ceeea1c4
Fix: add forgotten minified main.min.js, includes the changes of #392
2018-07-19 21:23:44 +02:00