Sha256: cef2d629b63ae6e123e2798f72712ca50c66feaefb0634776e4dd5ec33938d87
Contents?: true
Size: 407 Bytes
Versions: 2
Compression:
Stored size: 407 Bytes
Contents
$(function () { var _logMeIn = function () { var loggedIn = localStorage.getItem('loggedIn') === "true"; if (!loggedIn) { window.location.href = "/account_login.html" } else { window.location.href = "/my-account.html" } } $('.js-log-in').on('click', function (event) { event.preventDefault(); _logMeIn(); }); });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dta_rapid-1.6.2 | assets/js/log-in.js |
dta_rapid-1.6.1 | assets/js/log-in.js |