From 1f775e25c10362a7c62f09205c16f163af9a74f5 Mon Sep 17 00:00:00 2001 From: William Toohey Date: Mon, 4 Sep 2017 20:30:08 +1000 Subject: [PATCH] Fix radio tooltips --- js/dllpatcher.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/js/dllpatcher.js b/js/dllpatcher.js index c876496..af6450c 100644 --- a/js/dllpatcher.js +++ b/js/dllpatcher.js @@ -94,7 +94,12 @@ UnionPatch.prototype.createUI = function(parent) { var patch = this.patches[i]; var id = this.shortname + '-' + patch.shortname; var label = patch.name; - container.append('
'); + var patchDiv = $('
', {'class' : 'patch'}); + patchDiv.append(''); + if(patch.tooltip) { + patchDiv.append('' + patch.tooltip + '
'); + } + container.append(patchDiv); } parent.append(container); };