3.4.2 Archive tab updates
This commit is contained in:
parent
1f8c286a13
commit
e5318f395b
8 changed files with 183 additions and 112 deletions
|
@ -1,6 +1,6 @@
|
|||
JamStash.service('utils', function ($cookieStore, globals, model) {
|
||||
JamStash.service('utils', function ($rootScope, $cookieStore, globals, model) {
|
||||
this.safeApply = function (fn) {
|
||||
var phase = this.$root.$$phase;
|
||||
var phase = $rootScope.$root.$$phase;
|
||||
if (phase == '$apply' || phase == '$digest') {
|
||||
if (fn && (typeof (fn) === 'function')) {
|
||||
fn();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue