From 228841538eabf0c7d592c0e44bbfc4f2496fed89 Mon Sep 17 00:00:00 2001 From: kovacsv Date: Fri, 17 Dec 2021 10:10:47 +0100 Subject: [PATCH] Minor modification. --- website/o3dv/js/website.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/o3dv/js/website.js b/website/o3dv/js/website.js index 89c62ec..6e19037 100644 --- a/website/o3dv/js/website.js +++ b/website/o3dv/js/website.js @@ -155,6 +155,14 @@ OV.Website = class this.navigator.FillTree (importResult); this.UpdateSidebar (); this.FitModelToWindow (true); + + if (this.parameters.fileNameDiv.innerHTML === 'christmas_challenge.gltf') { + this.dialog = OV.ShowMessageDialog ( + 'Christmas Challenge', + 'Click on the boxes and find the hidden surprise. 🎁', + null + ); + } } OnModelClicked (button, mouseCoordinates)