minor imporvements
This commit is contained in:
@@ -348,7 +348,7 @@
|
||||
// console.log("Mouse pos: ", {x:_m_pos.x, y:_m_pos.y});
|
||||
})
|
||||
.on('click', function(event) {
|
||||
if(event.target.tagName != "A"){
|
||||
if(event.target.tagName != "A" && event.target.tagName != "INPUT"){
|
||||
console.log("Corpus : click", event);
|
||||
event.preventDefault();
|
||||
if(_node_hover_id != -1){
|
||||
|
||||
@@ -348,7 +348,7 @@
|
||||
// console.log("Mouse pos: ", {x:_m_pos.x, y:_m_pos.y});
|
||||
})
|
||||
.on('click', function(event) {
|
||||
if(event.target.tagName != "A"){
|
||||
if(event.target.tagName != "A" && event.target.tagName != "INPUT"){
|
||||
console.log("Corpus : click", event);
|
||||
event.preventDefault();
|
||||
if(_node_hover_id != -1){
|
||||
|
||||
@@ -66,6 +66,8 @@ class BlockEntrees extends BlockBase {
|
||||
$description = $term->get('description')->value;
|
||||
// dpm($description);
|
||||
|
||||
// TODO: output block through twig and preprocess function
|
||||
// TODO: load corpus map libraries only with this block
|
||||
$entree = array(
|
||||
'#wrapper_attributes' => array(
|
||||
'class' => array('term-'.$term->id(), 'entree'),
|
||||
|
||||
@@ -40,12 +40,12 @@ main[role="main"] {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden; }
|
||||
main[role="main"] .layout-content > * {
|
||||
pointer-events: auto; }
|
||||
main[role="main"] .layout-content, main[role="main"] .region-content, main[role="main"] #block-edlptheme-content {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden; }
|
||||
main[role="main"] .kint {
|
||||
pointer-events: auto; }
|
||||
|
||||
footer[role="contentinfo"] {
|
||||
position: fixed;
|
||||
|
||||
@@ -32,13 +32,13 @@ main[role="main"]{
|
||||
padding:7em 2em 9em;
|
||||
width:100%; height:100%;
|
||||
overflow: hidden;
|
||||
.layout-content>*{
|
||||
pointer-events: auto;
|
||||
}
|
||||
.layout-content, .region-content, #block-edlptheme-content{
|
||||
width: 100%; height:100%;
|
||||
overflow:hidden;
|
||||
}
|
||||
.kint{
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
|
||||
footer[role="contentinfo"]{
|
||||
|
||||
Reference in New Issue
Block a user