Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 28 by
yasithmi...@gmail.com: Book mark bubble is shows after it
add to the home screen
http://code.google.com/p/mobile-bookmark-bubble/issues/detail?id=28
What steps will reproduce the problem?
1. Book mark add to the home screen and type the address then go to site.
2.
3.
What is the expected output? What do you see instead?
bubble should not show after it add to the home screen.
What version of the product are you using? On what operating system?
ipad 1 and iphone 4 on simulator
Please provide any additional information below.
I add the following code to the template
<script type="text/javascript">
window.addEventListener(\'load\', function() {
window.setTimeout(function() {
var bubble = new google.bookmarkbubble.Bubble();
var parameter = \'bmb=1\';
bubble.hasHashParameter = function() {
return window.location.hash.indexOf(parameter) != -1;
};
bubble.setHashParameter = function() {
if (!this.hasHashParameter()) {
window.location.hash += parameter;
}
};
bubble.showIfAllowed();
}, 1000);
}, false);
</script>