Skip to content

Commit 1f05967

Browse files
committed
Merge pull request #362 from jywarren/tooltip-fixes
Tooltip fixes
2 parents 231a18a + 7120f34 commit 1f05967

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/views/spectrums/show2.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
// the following will be deprecated for snapshot/tag-based metadata
2525
calibrated: <%= @spectrum.calibrated %>,
2626
range: <%= @spectrum.has_powertag('range') ? @spectrum.range : false %>,
27+
<% if @spectrum.photo_file_name %>image_url: "<%= @spectrum.photo.url(:original) %>",<% end %>
2728
sample_row: <%= @spectrum.sample_row %>
2829
}, function() {
2930

bower.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "Spectral Workbench",
3-
"version": "2.0.0-beta.2",
3+
"version": "2.1.1",
44
"dependencies": {
5-
"spectral-workbench": "~0.0.7",
5+
"spectral-workbench": "~0.0.9",
66
"d3": "~3.3.13",
77
"nvd3": "~1.7.1",
88
"fontawesome": "~4.5.0",
@@ -18,8 +18,6 @@
1818
"ace-builds": "jywarren/ace-builds#v1.2.4"
1919
},
2020
"resolutions": {
21-
"d3": "^3.4.4",
22-
"nvd3": "~1.8.2",
2321
"jquery": "~2.1.3"
2422
}
2523
}

0 commit comments

Comments
 (0)