Fixing Facebook Redirect

This commit is contained in:
Amos Haviv
2013-12-23 19:17:32 +02:00
parent 14147f7f88
commit 46715a1268

View File

@@ -1,6 +1,6 @@
angular.element(document).ready(function() {
//Fixing facebook bug with redirect
if (window.location.hash == "#_=_") window.location.hash = "";
if (window.location.hash == "#_=_") window.location.hash = "#!";
//Then init the app
angular.bootstrap(document, ['mean']);