* create dropzone for editing in jot-modal
* customize css for dropzone to make it more beautiful (smaller
margin/paddings...)
* change position of dropzone-element dircetly to textarea, so button
for upload is small and under textarea (it's more clear)
* remove previews after upload. this shows the upload-progress, but
preview is not needed after upload. you can't do anything with the
preview, and dialog gets too big. You see successful upload, when
bb-code link to image is inserted on cursor-position in textarea
Strings:getBytesFromShorthand
i created a js-function which converts integer, k, m and g to MB
Just remove this code, when we found out, why Strings is in some files
not working.
in this case, the img[id^=waitfor... .show() shows existing image-containers. All of them which exist.
Because there can be more than one. And this filter just shows them.
adding another rotator with your suggestion can lead to 2 or more rotators on a button.
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
change the button only if it could send its request successfully to the server.
fixes:
* disrupting a video on liking or sharing
* timeline jumps around somewhere else, when you like or share a
posting/comment, and you can not find back.
its annoying, when you open filebrowser to upload an image or file, and
the button moves away under your finger/cursor, in case of loading
preview images slower than the form itself.
just change position of button (class="upload") and browser itself
(class="media") disannoys the behaviour.