Skip to content

Commit 0c9dd18

Browse files
committed
Merge discvr-24.3 to develop
2 parents 8f720ff + 4cc2422 commit 0c9dd18

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

laboratory/resources/web/laboratory/button/IconButton.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ Ext4.define('Laboratory.button.IconButton', {
77

88
renderTpl: [
99
'<div id="{id}-wrap" class="tool-icon">',
10-
'<a style="display: block" ' +
10+
'<a style="display: block;cursor: pointer;" ' +
1111
'<tpl if="href">href="{href}"</tpl>' +
12-
'<tpl if="!href">href="javascript:void(0)"</tpl>' +
1312
'<tpl if="tooltip"> data-qtip="{tooltip}"</tpl>' +
1413
'>' +
15-
'<tpl if="icon"><div><img id="{id}-btnIconEl" src="{icon}"/ ></div></tpl>' +
14+
'<tpl if="icon"><div><img alt="{text}" id="{id}-btnIconEl" src="{icon}"/ ></div></tpl>' +
1615
'{text}</a>',
1716
'</div>'
1817
],

0 commit comments

Comments
 (0)