Finishing timepoint browser behavior
This commit is contained in:
1 parent
d721c0dbde
commit
d787ed2cb9
17 files changed
+118
-95
No files matched your search
@@ -27,8 +27,10 @@ $.fn.tempShow = function(callback) {
|
||||
};
|
||||
|
||||
// Adjust the max width/height to enable CSS3 transitions
|
||||
$.fn.adjustMax = function(dimension) {
|
||||
$.fn.adjustMax = function(dimension, modifierFn) {
|
||||
const $element = $(this);
|
||||
|
||||
// Temporarily make the element visible to allow getting its dimensions
|
||||
$element.tempShow(() => {
|
||||
const maxProperty = `max-${dimension}`;
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
body *.visible
|
||||
display: block !important
|
||||
display: block !important
|
||||
Reference in new issue
Block a user