Merge branch 'master' of github.com:MayhemYDG/4chan-x into qr
This commit is contained in:
commit
41b10d4223
@ -15,6 +15,7 @@
|
|||||||
/* LICENSE
|
/* LICENSE
|
||||||
*
|
*
|
||||||
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||||
|
* Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||||
* http://mayhemydg.github.com/4chan-x/
|
* http://mayhemydg.github.com/4chan-x/
|
||||||
* 4chan X 2.24.0
|
* 4chan X 2.24.0
|
||||||
*
|
*
|
||||||
@ -2872,7 +2873,7 @@
|
|||||||
return $.prepend(form, controls);
|
return $.prepend(form, controls);
|
||||||
},
|
},
|
||||||
resize: function() {
|
resize: function() {
|
||||||
return imgExpand.style.innerHTML = ".fitheight [md5] + img {max-height:" + d.body.clientHeight + "px;}";
|
return imgExpand.style.innerHTML = ".fitheight img[md5] + img {max-height:" + d.body.clientHeight + "px;}";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -3049,14 +3050,14 @@
|
|||||||
float: left;\
|
float: left;\
|
||||||
pointer-events: none;\
|
pointer-events: none;\
|
||||||
}\
|
}\
|
||||||
[md5], [md5] + img {\
|
img[md5], img[md5] + img {\
|
||||||
pointer-events: all;\
|
pointer-events: all;\
|
||||||
}\
|
}\
|
||||||
.fitwidth [md5] + img {\
|
.fitwidth img[md5] + img {\
|
||||||
max-width: 100%;\
|
max-width: 100%;\
|
||||||
}\
|
}\
|
||||||
.gecko > .fitwidth [md5] + img,\
|
.gecko > .fitwidth img[md5] + img,\
|
||||||
.presto > .fitwidth [md5] + img {\
|
.presto > .fitwidth img[md5] + img {\
|
||||||
width: 100%;\
|
width: 100%;\
|
||||||
}\
|
}\
|
||||||
\
|
\
|
||||||
|
|||||||
1
Cakefile
1
Cakefile
@ -22,6 +22,7 @@ HEADER = """
|
|||||||
/* LICENSE
|
/* LICENSE
|
||||||
*
|
*
|
||||||
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||||
|
* Copyright (c) 2012 Nicolas Stepien <stepien.nicolas@gmail.com>
|
||||||
* http://mayhemydg.github.com/4chan-x/
|
* http://mayhemydg.github.com/4chan-x/
|
||||||
* 4chan X #{VERSION}
|
* 4chan X #{VERSION}
|
||||||
*
|
*
|
||||||
|
|||||||
@ -2270,7 +2270,7 @@ imgExpand =
|
|||||||
$.prepend form, controls
|
$.prepend form, controls
|
||||||
|
|
||||||
resize: ->
|
resize: ->
|
||||||
imgExpand.style.innerHTML = ".fitheight [md5] + img {max-height:#{d.body.clientHeight}px;}"
|
imgExpand.style.innerHTML = ".fitheight img[md5] + img {max-height:#{d.body.clientHeight}px;}"
|
||||||
|
|
||||||
Main =
|
Main =
|
||||||
init: ->
|
init: ->
|
||||||
@ -2484,14 +2484,14 @@ Main =
|
|||||||
float: left;
|
float: left;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
[md5], [md5] + img {
|
img[md5], img[md5] + img {
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
.fitwidth [md5] + img {
|
.fitwidth img[md5] + img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
.gecko > .fitwidth [md5] + img,
|
.gecko > .fitwidth img[md5] + img,
|
||||||
.presto > .fitwidth [md5] + img {
|
.presto > .fitwidth img[md5] + img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user