Page MenuHomePhabricator
Paste P11188

tweet button
ActivePublic

Authored by Dzahn on May 13 2020, 12:09 PM.
Tags
None
Referenced Files
F31815764: raw.txt
May 13 2020, 12:09 PM
Subscribers
None
<!-- Start tweet button -->
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<script type="text/javascript">
// Source: http://pixabay.com/en/reptile-chameleon-yemen-pets-316735/
$.backstretch("img/background2.jpg");
// Fix from http://stackoverflow.com/questions/19027749/how-to-disable-slider-in-bootstrap-slider-js,
// so sliders can be disabled.
$.fn.slider.Constructor.prototype.disable = function () {
this.picker.off();
}
$.fn.slider.Constructor.prototype.enable = function () {
if (this.touchCapable) {
// Touch: Bind touch events:
this.picker.on({
touchstart: $.proxy(this.mousedown, this)
});
} else {
this.picker.on({
mousedown: $.proxy(this.mousedown, this)
});
}
}
</script>
<!-- End tweet button -->