diff options
author | Gokulakrishna K Sudharsan <gokulakrishnaks@gmail.com> | 2018-08-17 19:32:38 +0530 |
---|---|---|
committer | Gokulakrishna K Sudharsan <gokulakrishnaks@gmail.com> | 2018-08-17 19:32:38 +0530 |
commit | 52f9492de5ef5b95828ba0ed56ce51a8113f88b2 (patch) | |
tree | a90b1a6a2552f9b56e7fbf4b0b832c98420599aa /js/controllers | |
parent | 39f27b1eeef38978fb4f4cd0ab733e1e91ed1e8c (diff) |
Hide Sync option for firefox in settings page. Show basic notification for Opera as it doesn't support LIST type of chrome
Diffstat (limited to 'js/controllers')
-rw-r--r-- | js/controllers/redirectorpage.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/controllers/redirectorpage.js b/js/controllers/redirectorpage.js index e9ed30c..0386173 100644 --- a/js/controllers/redirectorpage.js +++ b/js/controllers/redirectorpage.js @@ -12,6 +12,10 @@ redirectorApp.controller('RedirectorPageCtrl', ['$scope', '$timeout', function($ return new Redirect(r).toObject(); //Cleans out any extra props, and adds default values for missing ones. } + $s.showSyncOption = false; + if(navigator.userAgent.toLowerCase().indexOf("chrome") > -1){ + $s.showSyncOption = true; + } // Saves the entire list of redirects to storage. $s.saveChanges = function() { |