mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Fix bootstrap conflict
This commit is contained in:
@@ -94,6 +94,10 @@
|
||||
$image.removeAttr('ondragstart');
|
||||
}
|
||||
$image.draggable();
|
||||
$image.css({
|
||||
'max-width':'none',
|
||||
'max-height':'none'
|
||||
});
|
||||
|
||||
var image_width = parseInt($('input[name="width"]', $this).val());
|
||||
var image_height = parseInt($('input[name="height"]', $this).val());
|
||||
@@ -147,18 +151,20 @@
|
||||
|
||||
if(bool)
|
||||
{
|
||||
if(w1 * 1.08 < 32767)
|
||||
if((w1 * 1.08) < 32767) {
|
||||
w2 = w1 * 1.08;
|
||||
else
|
||||
} else {
|
||||
w2 = w1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(w1 / 1.08 > 20)
|
||||
if((w1 / 1.08) > 20) {
|
||||
w2 = w1 / 1.08;
|
||||
else
|
||||
} else {
|
||||
w2 = w1;
|
||||
}
|
||||
}
|
||||
|
||||
var datas = $(this).data('image_enhance');
|
||||
|
||||
|
Reference in New Issue
Block a user