Revert "add studio survey button to header."
40k responses is probably enough.
This reverts commit 075aad742a
.
Change-Id: I0c1964fda243c32f57156e762edec511314d9cb5
This commit is contained in:
@@ -21,8 +21,6 @@ $.ajaxSetup({
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
showStudioSurveyButton();
|
||||
|
||||
// show lang dialog if the URL includes /intl/
|
||||
//if (location.pathname.substring(0,6) == "/intl/") {
|
||||
// var lang = location.pathname.split('/')[2];
|
||||
@@ -5377,17 +5375,3 @@ function showSamples() {
|
||||
$(document)
|
||||
.on('click.toggle', '[data-toggle="section"]', Toggle.prototype.toggle);
|
||||
})(jQuery);
|
||||
|
||||
|
||||
var STUDIO_SURVEY_CLICKED = 'studio-survey-20160429-clicked';
|
||||
|
||||
function onClickStudioSurvey() {
|
||||
localStorage.setItem(STUDIO_SURVEY_CLICKED, 'true');
|
||||
$("#studio-survey-button").fadeOut();
|
||||
}
|
||||
|
||||
function showStudioSurveyButton() {
|
||||
if (localStorage.getItem(STUDIO_SURVEY_CLICKED) == null) {
|
||||
$("#studio-survey-button").show();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user