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.removeAttr('ondragstart');
|
||||||
}
|
}
|
||||||
$image.draggable();
|
$image.draggable();
|
||||||
|
$image.css({
|
||||||
|
'max-width':'none',
|
||||||
|
'max-height':'none'
|
||||||
|
});
|
||||||
|
|
||||||
var image_width = parseInt($('input[name="width"]', $this).val());
|
var image_width = parseInt($('input[name="width"]', $this).val());
|
||||||
var image_height = parseInt($('input[name="height"]', $this).val());
|
var image_height = parseInt($('input[name="height"]', $this).val());
|
||||||
@@ -147,17 +151,19 @@
|
|||||||
|
|
||||||
if(bool)
|
if(bool)
|
||||||
{
|
{
|
||||||
if(w1 * 1.08 < 32767)
|
if((w1 * 1.08) < 32767) {
|
||||||
w2 = w1 * 1.08;
|
w2 = w1 * 1.08;
|
||||||
else
|
} else {
|
||||||
w2 = w1;
|
w2 = w1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(w1 / 1.08 > 20)
|
if((w1 / 1.08) > 20) {
|
||||||
w2 = w1 / 1.08;
|
w2 = w1 / 1.08;
|
||||||
else
|
} else {
|
||||||
w2 = w1;
|
w2 = w1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var datas = $(this).data('image_enhance');
|
var datas = $(this).data('image_enhance');
|
||||||
|
Reference in New Issue
Block a user