Merge pull request #37851 from AutomaticFrenzy/patch/jquery-tooltips-2

Send jquery asset when initializing tooltips
This commit is contained in:
oranges
2018-05-15 09:50:32 +12:00
committed by letterjay
parent f9f42658e1
commit ef7be078b5
2 changed files with 14 additions and 5 deletions

View File

@@ -42,6 +42,8 @@ Notes:
/datum/tooltip/New(client/C)
if (C)
owner = C
var/datum/asset/stuff = get_asset_datum(/datum/asset/simple/jquery)
stuff.send(owner)
owner << browse(file2text('code/modules/tooltip/tooltip.html'), "window=[control]")
..()