diff --git a/article-style-st-lingoes-blue.css b/article-style-st-lingoes-blue.css index eec74641..fb3eefb7 100644 --- a/article-style-st-lingoes-blue.css +++ b/article-style-st-lingoes-blue.css @@ -126,6 +126,7 @@ a:hover { .gdarticleseparator { display: none; + clear:both; } /* The 'From ' string which preceeds dictionary name in the heading */ @@ -366,4 +367,4 @@ h3 { border-width:1px; background-color:#eeeeee; padding: 8px 8px 8px 8px; -} \ No newline at end of file +} diff --git a/article-style-st-modern.css b/article-style-st-modern.css index bb5ba320..942873d9 100644 --- a/article-style-st-modern.css +++ b/article-style-st-modern.css @@ -47,6 +47,7 @@ a:hover .gdarticleseparator { display: none; + clear: both; } /* Hide the 'From ' string which precedes dictionary name in the heading */ diff --git a/article-style.css b/article-style.css index cacb896b..4f9dff06 100644 --- a/article-style.css +++ b/article-style.css @@ -70,6 +70,9 @@ pre /* Appears between the articles */ .gdarticleseparator { + width: 100%; + display: inline-block; + clear: both; } /* Dictionary query error description string */ diff --git a/resources/gd-builtin.js b/resources/gd-builtin.js index c2f6f042..b553cbf2 100644 --- a/resources/gd-builtin.js +++ b/resources/gd-builtin.js @@ -61,7 +61,18 @@ function gdExpandOptPart(expanderId, optionalId) { } }; +function emitClickedEvent(){ + try{ + articleview.linkClickedInHtml(""); + }catch(error) + { + console.error(error); + } + +} + function gdExpandArticle(id) { + emitClickedEvent(); elem = document.getElementById('gdarticlefrom-' + id); ico = document.getElementById('expandicon-' + id); art = document.getElementById('gdfrom-' + id); diff --git a/resources/gd-custom.js b/resources/gd-custom.js index bc42ea5c..81b83a43 100644 --- a/resources/gd-custom.js +++ b/resources/gd-custom.js @@ -48,7 +48,7 @@ function emitClickedEvent(link){ articleview.linkClickedInHtml(link); }catch(error) { - console.log(error); + console.error(error); } }