OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // File Description: |
| 6 // Contains all the necessary functions for rendering the Welcome page on |
| 7 // Android. |
| 8 |
| 9 /* |
| 10 * Handles initializing the UI when the page has finished loading. |
| 11 */ |
| 12 window.addEventListener('DOMContentLoaded', function(evt) { |
| 13 var anchors = document.getElementsByTagName('a'); |
| 14 for (var i = 0; i < anchors.length; i++) { |
| 15 anchors[i].oncontextmenu = function() { return false; }; |
| 16 } |
| 17 }); |
OLD | NEW |