';
if (val.instruments) { // @FIXME: edge case for Test user that has no instruments?
$.each(val.instruments, function(index, instrument) {
- instrumentHtml += '

';
+ instrumentHtml += '
 + ')
';
});
}
diff --git a/web/app/assets/javascripts/hoverMusician.js b/web/app/assets/javascripts/hoverMusician.js
index 0cee5cb0f..e4443a8c4 100644
--- a/web/app/assets/javascripts/hoverMusician.js
+++ b/web/app/assets/javascripts/hoverMusician.js
@@ -6,7 +6,6 @@
var logger = context.JK.logger;
var rest = context.JK.Rest();
- var instrumentLogoMap = context.JK.getInstrumentIconMap24();
var hoverSelector = "#musician-hover";
this.showBubble = function() {
@@ -20,7 +19,7 @@
// instruments
var instrumentHtml = '';
$.each(response.instruments, function(index, val) {
- instrumentHtml += '
';
+ instrumentHtml += '
';
});
// followings
diff --git a/web/app/assets/javascripts/hoverRecording.js b/web/app/assets/javascripts/hoverRecording.js
index 6d32b8ffa..e99d9fedd 100644
--- a/web/app/assets/javascripts/hoverRecording.js
+++ b/web/app/assets/javascripts/hoverRecording.js
@@ -5,7 +5,6 @@
context.JK.RecordingHoverBubble = function(recordingId, position) {
var logger = context.JK.logger;
var rest = context.JK.Rest();
- var instrumentLogoMap = context.JK.getInstrumentIconMap24();
var hoverSelector = "#recording-hover";
function deDupTracks(recordedTracks) {
@@ -61,7 +60,7 @@
instrumentHtml = '
';
$.each(val.instrument_ids, function(index, val) {
- instrumentHtml += '  ';
+ instrumentHtml += '  + ') ';
})
instrumentHtml += ' | ';
diff --git a/web/app/assets/javascripts/hoverSession.js b/web/app/assets/javascripts/hoverSession.js
index 373bd0cc6..f9bca235e 100644
--- a/web/app/assets/javascripts/hoverSession.js
+++ b/web/app/assets/javascripts/hoverSession.js
@@ -6,7 +6,6 @@
var logger = context.JK.logger;
var rest = context.JK.Rest();
- var instrumentLogoMap = context.JK.getInstrumentIconMap24();
var hoverSelector = "#session-hover";
this.showBubble = function() {
@@ -28,7 +27,7 @@
instrumentHtml = '
';
var instruments = val.instruments.split("|");
$.each(instruments, function(index, instrument) {
- instrumentHtml += '  ';
+ instrumentHtml += '  + ') ';
});
instrumentHtml += ' | ';