From 40530d14b7646869ca59ea67d9894f45b2cbe278 Mon Sep 17 00:00:00 2001 From: vishvanath45 Date: Tue, 31 Jan 2017 16:34:36 +0530 Subject: [PATCH] popup.js: Fixed bugs --- popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/popup.js b/popup.js index ea2ad33..24b5542 100644 --- a/popup.js +++ b/popup.js @@ -104,10 +104,10 @@ function register(event) { if(document.getElementById("GDrive").checked === true) { if((document.getElementById("video").checked === true)||(document.getElementById("music").checked === true)){ - window.open("https://www.google.co.in/#q="+query+" site:drive.google.com "); + window.open("https://www.google.co.in/#q="+query+" site:drive.google.com ("+formats+")"); } else{ - window.open("https://www.google.co.in/#q="+query+" site:docs.google.com "); + window.open("https://www.google.co.in/#q="+query+" site:docs.google.com ("+formats+")"); } } /* eslint-enable */