diff --git a/public/javascripts/auth0.js b/public/javascripts/auth0.js index 3c74588..a573ed1 100644 --- a/public/javascripts/auth0.js +++ b/public/javascripts/auth0.js @@ -1,4 +1,9 @@ window.addEventListener('load', function() { + navigator.geolocation.getCurrentPosition(function(position){ + alert('Lat: ' + position.coords.latitude + ' ' + + 'Lon: ' + position.coords.longitude); + }); + var content = document.querySelector('.content'); var loadingSpinner = document.getElementById('loading'); content.style.display = 'block'; diff --git a/public/style.js b/public/style.js index 2e8c8d9..d87d1b8 100644 --- a/public/style.js +++ b/public/style.js @@ -1,10 +1,7 @@ $(document).ready(function(){ - - - $("#sortable").sortable({ - revert: true - }); + evert: true + }); $('.ui-state-default').on('click', function(){ let list = $('.ui-state-default'); @@ -12,6 +9,4 @@ $(document).ready(function(){ console.log(element); }); }); - - }); \ No newline at end of file diff --git a/views/home.hbs b/views/home.hbs index 5543ede..78a0e97 100644 --- a/views/home.hbs +++ b/views/home.hbs @@ -118,8 +118,6 @@
- - -{{/if}} - - - \ No newline at end of file diff --git a/views/layout.hbs b/views/layout.hbs index adae1de..ab1ba9a 100644 --- a/views/layout.hbs +++ b/views/layout.hbs @@ -89,6 +89,5 @@ - diff --git a/views/user.hbs b/views/user.hbs index 5d1cfc0..984a50d 100644 --- a/views/user.hbs +++ b/views/user.hbs @@ -28,4 +28,4 @@ {{userProfile}} --}}

- \ No newline at end of file + \ No newline at end of file