FSN#35094 Buttontext verbergen als het niet meer past iets correcter (bijvoorbeeld template preview)
svn path=/Website/branches/v2016.3/; revision=32564
This commit is contained in:
@@ -642,8 +642,9 @@ $(function () {
|
|||||||
var w = $(window).width();
|
var w = $(window).width();
|
||||||
var p = $(this).position();
|
var p = $(this).position();
|
||||||
var smallsize = $(this).data("smallsize");
|
var smallsize = $(this).data("smallsize");
|
||||||
var pheader = $(this).closest('div.fcltheader');
|
var pheader = $(this).closest('div.fcltframeheader');
|
||||||
var headertop = pheader.length?pheader.position().top:0;
|
var headertop = pheader.length?pheader.position().top:0;
|
||||||
|
|
||||||
if (p.top > headertop + 20) // shifted to next line?
|
if (p.top > headertop + 20) // shifted to next line?
|
||||||
{
|
{
|
||||||
$(this).addClass("smallbuttons")
|
$(this).addClass("smallbuttons")
|
||||||
|
|||||||
Reference in New Issue
Block a user