[chrome-gnome-shell] Fixed GSC.isSupported() function



commit 3bb276ebf505d5df8734309dcfd134dc84a0471c
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Wed Jan 4 12:16:52 2017 +0400

    Fixed GSC.isSupported() function

 extension/include/gsc.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/extension/include/gsc.js b/extension/include/gsc.js
index f193a55..fc3945e 100644
--- a/extension/include/gsc.js
+++ b/extension/include/gsc.js
@@ -85,7 +85,8 @@ GSC = (function() {
        }
 
        function isSupported(feature, response) {
-               return response.supports && response.supports.indexOf(feature) !== -1;
+               return response.properties &&
+                               response.properties.supports && response.properties.supports.indexOf(feature) 
!== -1;
        }
 
        return {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]