Remove unused code lines

This commit is contained in:
Vinoth Kannan 2017-12-29 12:32:18 +05:30
parent 030a0cd698
commit f08995c390
1 changed files with 0 additions and 3 deletions

View File

@ -27,9 +27,6 @@
<script type="text/javascript">
var authResult = <%=@auth_result.to_client_hash.to_json.html_safe%>;
// On facebook browser, just redirect and don't close
var ua = navigator.userAgent || navigator.vendor || window.opera;
if (!window.opener) {
localStorage.setItem('lastAuthResult', JSON.stringify(authResult));
window.location.href = '<%= Discourse.base_url.html_safe %>?authComplete=true';