diff options
Diffstat (limited to 'plugins/shorten_expanded/init.js')
-rw-r--r-- | plugins/shorten_expanded/init.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/shorten_expanded/init.js b/plugins/shorten_expanded/init.js index 11ecbc5d5..4d80f8407 100644 --- a/plugins/shorten_expanded/init.js +++ b/plugins/shorten_expanded/init.js @@ -32,9 +32,7 @@ dojo.addOnLoad(function() { var content = row.select(".cdmContentInner")[0]; if (content) { - var wrapperHeight = Math.round(window.innerHeight * 0.8) + 'px'; - - content.innerHTML = "<div class='contentSizeWrapper' style='height : "+wrapperHeight+"'>" + + content.innerHTML = "<div class='contentSizeWrapper'>" + content.innerHTML + "</div><button class='expandPrompt' onclick='return expandSizeWrapper(\""+row.id+"\")' "+ "href='#'>" + __("Click to expand article") + "</button>"; |