All toolbar icons now have a class called "toolbarIcon" so they can be
styled by external CSS.
This commit is contained in:
parent
cc09762e54
commit
eb93e97a93
3 changed files with 19 additions and 17 deletions
|
|
@ -82,7 +82,7 @@ function contextMenu_draw(){
|
|||
output += '</div>';
|
||||
if (this.type == "image") {
|
||||
if (this.addContext)
|
||||
output += '<p style="display: inline; vertical-align: middle;"><a href="javascript:void(0)">';
|
||||
output += '<p class="toolbarIcon" style="display: inline; vertical-align: middle;"><a href="javascript:void(0)">';
|
||||
output += '<img src="' + this.imagePath + '" id="contextMenu_' + this.id + '_2" onclick="return contextMenu_renderLeftClick(\'contextMenu_' + this.id + '_menu\',event)" alt="' + this.name + '" title="' + this.name + '" align="absmiddle" ';
|
||||
if (this.addContext)
|
||||
output += 'style="border: 0px none; vertical-align: middle;"';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue