Commit Graph

69 Commits (47eed4346e4491c9a63c2e0cb76bdd37bff5677c)

Author SHA1 Message Date
Ryan McGinnis f0c445980d Update script.js
In copyCode function, removes target.value from if (succeed) sweetAlert function. 

Sometimes target.value is too long, which causes the sweetAlert box to be cut off from the page. The confirmation button also gets cut off, which means that the user can't close the box, which means they need to refresh the page to continue.

Instead, the alert tells the user which file was copied.
2017-06-27 08:58:02 -07:00
Ahmet Alp Balkan d33222a6c3 Copy-to-clipboard fix (#4190)
* Copy-to-clipboard fix

target.setSelectionRange(0, target.value.length); does not always seem to be
working. It doesn't work once the text is unselected. Using textarea.select()
function: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select

Fixes #3965.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>

* Empty commit

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-06-26 11:12:14 -07:00
stkevintan a7830ae27f fix some irregular coding && uniform indent to space 2016-12-27 14:57:48 +08:00
Eric Baum 08a199d6d1 Update header
Updates header to remove hamburger on desktop, set 100px margin, and
adds 100px margin to body.
2016-12-09 23:03:48 +00:00
scotty a6c9579233 partners 2016-09-30 10:21:03 -07:00
scotty ae8d6a053c case studies 2016-09-14 10:39:24 -07:00
Jeff Mendoza 92a802a7fb Replace the 'I Wish' feature with a create issue button. 2016-09-06 15:54:10 -07:00
Andrew T. Baker 8dd2abd4bf Remove js-based header anchor offset, suggested by @bobcatfish 2016-05-22 19:28:46 -07:00
johndmulhausen c168f89aa9 Update script.js 2016-04-14 17:02:53 -07:00
scotty 4cbce7619f strip debug 2016-03-30 10:10:09 -07:00
scotty 7ef2e88b32 strip debug 2016-03-30 09:59:56 -07:00
scotty 4bf269f431 added pushState to fix Firefox ridiculousnesses 2016-03-30 09:57:49 -07:00
scotty e3978e42da js tests 2016-03-30 09:25:15 -07:00
scotty d539ec4129 dynamically assign HEADER_HEIGHT (Linux caveat) 2016-03-30 09:09:09 -07:00
scotty 0121f8ba03 anchor scrolling fix 2016-03-30 09:03:15 -07:00
johndmulhausen 00fcbed81f Adds 'copy code' functionality to include code module 2016-03-25 14:43:15 -07:00
scotty 81bf536b2a ditched the dropdown script 2016-03-14 11:53:02 -07:00
scotty c4a5d0ab93 many, many mobile fixes
Introducing: _code-styles.sass
Introducing: TOC mobile flyout
2016-03-08 17:18:23 -08:00
scotty b900daf301 pushmenu close button 2016-03-07 13:48:51 -08:00
scotty ae70351c3c added missing 'break' statement the lack of which caused such consternation
also added 'home' case, just for kicks
2016-03-07 09:02:36 -08:00
scotty 5b56a8cb33 moved page title conditional into head-header.html
added switch to setFooterType()
Introducing: community.html
2016-03-04 17:07:06 -08:00
scotty 6129c6931f head-header.html
footer.html
"get started" url fixes
calendar social links
video fix
Introducing: the ALL_NEW index.html
2016-03-04 16:02:00 -08:00
scotty 4d5a4e3107 wait to show kubernetes button 2016-03-03 15:41:18 -08:00
scotty f08df26d2f twitter fix
home page
2016-03-02 12:42:09 -08:00
scotty f08b8d3741 ditched table borders on search results
i wish this page... fix
fixed hijacked wish submissions
2016-02-25 15:56:23 -08:00
scotty 30e37122f7 added some search results styles
added search class via JS in search.md
tackled a bunch of little CSS issues
2016-02-25 13:37:33 -08:00
scotty 4f2d80a1ea migrated sass build process to jekyll 2016-02-24 16:59:38 -08:00
scotty e019d7881a fixed docwithnav scripts order
ditched pi
2016-02-24 16:13:45 -08:00
scotty 6890d4a389 minor js fix
headerfooter test — not seeing jquery showing up 1st
2016-02-24 16:00:51 -08:00
scotty a49fa7c6db moved jquery ahead of script.js
isolated height transitions for TOC
translated pi-accordion to JQ
2016-02-24 15:44:54 -08:00
scotty c06661e55a substantial stylings
fixed YAH hash refresh bug
2016-02-18 00:03:16 -08:00
scotty dfff1a1888 ditched the "anchored" conceit
added the padding-fix neg margin :before element
ditched in-page TOC JS
2016-02-17 23:19:16 -08:00
scotty d6311dbd19 minor YAH fix 2016-02-17 11:05:55 -08:00
scotty a1dfd788a2 ../images => /images
moved syntax highlighting into overrides.css
fixed target="_blank" TOC bug
2016-02-17 10:59:34 -08:00
scotty 6b47bdc1eb minor pushmenu fixes 2016-02-15 13:47:28 -08:00
scotty 87f205cbd1 quick js cleanup 2016-02-15 13:04:15 -08:00
scotty b438a90cf0 new edit page button 2016-02-15 13:00:37 -08:00
scotty b4b17a899c YAH fixes 2016-02-12 15:55:28 -08:00
scotty 99dafb6dd4 a π expansion 2016-02-12 11:51:33 -08:00
scotty 824a0808f1 yah color
disable yah click
2016-02-12 08:48:32 -08:00
scotty bfb7626584 image cleanup 2016-02-11 16:25:33 -08:00
scotty 0be579f9eb css tweaks, plus the discovery of a really interesting Chrome scrollbar bug
js cleanup
2016-02-11 16:14:24 -08:00
scotty 6b7122fc0e cssifications galore 2016-02-11 15:19:09 -08:00
scotty 6d459f2d56 hinky a-click fix 2016-02-11 12:58:38 -08:00
scotty 3f0994af4c 2nd duh of the day 2016-02-11 12:54:34 -08:00
scotty ee2b86534f ok, 500 2016-02-11 12:52:56 -08:00
scotty 607fb6a131 YAH deepfix (200ms 'moving' end-around) 2016-02-11 12:51:29 -08:00
scotty d2f95c7553 duh 2016-02-11 12:15:02 -08:00
scotty 7d40752ae9 margins for pageAnchors 2016-02-11 12:13:41 -08:00
scotty 4fbd6dda57 minor refactoring 2016-02-11 12:10:06 -08:00