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'),
|
||||
|
||||
Reference in New Issue
Block a user