mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-03 13:13:10 +00:00
feature(index) keyspanel: add id
This commit is contained in:
parent
5f9306d8c2
commit
cbe7ad7a10
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@
|
|||
<body>
|
||||
|
||||
<div class=fm>{{ fm }}</div>
|
||||
<div class="keyspanel">
|
||||
<div id="js-keyspanel" class="keyspanel">
|
||||
<button id=f1 class="cmd-button reduce-text icon-help" title="help" >F1</button>
|
||||
<button id=f2 class="cmd-button reduce-text icon-rename" title="rename" >F2</button>
|
||||
<button id=f3 class="cmd-button reduce-text icon-view" title="view" >F3</button>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ var Util, DOM, CloudCmd;
|
|||
};
|
||||
|
||||
this.initKeysPanel = function() {
|
||||
var keysElement = DOM.getByClass('keyspanel');
|
||||
var keysElement = DOM.getById('js-keyspanel');
|
||||
|
||||
if (keysElement)
|
||||
Events.addClick(function(event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue