Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
morpheus.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daria Zenkova
morpheus.js
Commits
1e218ac5
Commit
1e218ac5
authored
Apr 13, 2016
by
jgould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only show help menu once
parent
d92d4009
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
src/ui/heat_map.js
src/ui/heat_map.js
+15
-13
No files found.
src/ui/heat_map.js
View file @
1e218ac5
...
@@ -246,20 +246,22 @@ morpheus.HeatMap = function(options) {
...
@@ -246,20 +246,22 @@ morpheus.HeatMap = function(options) {
// if (window.location.hostname.indexOf('clue.io') === -1
// if (window.location.hostname.indexOf('clue.io') === -1
// && window.location.pathname.indexOf('cancer/software/morpheus') ===
// && window.location.pathname.indexOf('cancer/software/morpheus') ===
// -1) {
// -1) {
var
$a
=
$
(
'
<a title="Produced with Morpheus" style="font-size:85%;margin-right:2px;margin-top:2px;" href="
'
if
(
!
morpheus
.
HelpMenu
.
ADDED
)
{
// only show once per page
+
morpheus
.
Util
.
URL
morpheus
.
HelpMenu
.
ADDED
=
true
;
+
'
" target="_blank"><img style="width:16px;height:16px;" src="
'
var
$a
=
$
(
'
<a title="Produced with Morpheus" style="font-size:85%;margin-right:2px;margin-top:2px;" href="
'
+
morpheus
.
Util
.
URL
+
'
/images/icon.svg"></a>
'
);
+
morpheus
.
Util
.
URL
$a
.
tooltip
({
+
'
" target="_blank"><img style="width:16px;height:16px;" src="
'
placement
:
'
auto
'
+
morpheus
.
Util
.
URL
+
'
/images/icon.svg"></a>
'
);
});
$a
.
tooltip
({
// var $img = $a.find('img');
placement
:
'
auto
'
});
var
$right
=
$
(
'
<div style="margin-right:2px;" class="pull-right"></div>
'
);
// var $img = $a.find('img');
$a
.
appendTo
(
$right
);
new
morpheus
.
HelpMenu
().
$el
.
appendTo
(
$right
);
$right
.
appendTo
(
this
.
tabManager
.
$nav
);
var
$right
=
$
(
'
<div style="margin-right:2px;" class="pull-right"></div>
'
);
$a
.
appendTo
(
$right
);
new
morpheus
.
HelpMenu
().
$el
.
appendTo
(
$right
);
$right
.
appendTo
(
this
.
tabManager
.
$nav
);
}
if
(
!
this
.
options
.
tabManager
)
{
if
(
!
this
.
options
.
tabManager
)
{
this
.
tabManager
.
$nav
.
appendTo
(
this
.
$el
);
this
.
tabManager
.
$nav
.
appendTo
(
this
.
$el
);
this
.
tabManager
.
$tabContent
.
appendTo
(
this
.
$el
);
this
.
tabManager
.
$tabContent
.
appendTo
(
this
.
$el
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment