Skip to content

Commit b547119

Browse files
committed
Temporary hiding the sharing panel
1 parent 643b4c0 commit b547119

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/restaurant.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ $(document).ready(function(){
3333

3434
var type = $(this).attr("type");
3535

36+
// TODO: Update these values.. then un-hide
3637
if(type == "twitter"){
3738
var url = "https://twitter.com/intent/tweet?text=Learning%20CSS?%20Try%20CSS%20Diner,%20the%20fun%20way%20to%20practice%20selectors%20%E2%86%92&hashtags=css,cssdiner,webdev&url=http%3A%2F%2Fcssdiner.com%2F&via=flukeout";
3839
} else if (type == "facebook") {
@@ -44,7 +45,7 @@ $(document).ready(function(){
4445
PopupCenter(url, "title", 600, 450);
4546
sendEvent("share", type, "");
4647
return false;
47-
});
48+
}).hide();
4849

4950
$(window).on("keydown",function(e){
5051
if(e.keyCode == 27) {

0 commit comments

Comments
 (0)